Home
last modified time | relevance | path

Searched refs:tvec (Results 1 – 5 of 5) sorted by relevance

/external/quake/quake/src/QW/client/
Dr_sprite.c290 vec3_t tvec; in R_DrawSprite() local
309 tvec[0] = -modelorg[0]; in R_DrawSprite()
310 tvec[1] = -modelorg[1]; in R_DrawSprite()
311 tvec[2] = -modelorg[2]; in R_DrawSprite()
312 VectorNormalize (tvec); in R_DrawSprite()
313 dot = tvec[2]; // same as DotProduct (tvec, r_spritedesc.vup) because in R_DrawSprite()
320 r_spritedesc.vright[0] = tvec[1]; in R_DrawSprite()
322 r_spritedesc.vright[1] = -tvec[0]; in R_DrawSprite()
Dr_bsp.c65 vec3_t tvec; in R_EntityRotate() local
67 VectorCopy (vec, tvec); in R_EntityRotate()
68 vec[0] = DotProduct (entity_rotation[0], tvec); in R_EntityRotate()
69 vec[1] = DotProduct (entity_rotation[1], tvec); in R_EntityRotate()
70 vec[2] = DotProduct (entity_rotation[2], tvec); in R_EntityRotate()
/external/quake/quake/src/WinQuake/
Dr_sprite.cpp290 vec3_t tvec; in R_DrawSprite() local
309 tvec[0] = -modelorg[0]; in R_DrawSprite()
310 tvec[1] = -modelorg[1]; in R_DrawSprite()
311 tvec[2] = -modelorg[2]; in R_DrawSprite()
312 VectorNormalize (tvec); in R_DrawSprite()
313 dot = tvec[2]; // same as DotProduct (tvec, r_spritedesc.vup) because in R_DrawSprite()
320 r_spritedesc.vright[0] = tvec[1]; in R_DrawSprite()
322 r_spritedesc.vright[1] = -tvec[0]; in R_DrawSprite()
Dr_bsp.cpp65 vec3_t tvec; in R_EntityRotate() local
67 VectorCopy (vec, tvec); in R_EntityRotate()
68 vec[0] = DotProduct (entity_rotation[0], tvec); in R_EntityRotate()
69 vec[1] = DotProduct (entity_rotation[1], tvec); in R_EntityRotate()
70 vec[2] = DotProduct (entity_rotation[2], tvec); in R_EntityRotate()
/external/opencv/cv/src/
Dcvcalibration.cpp1127 CvMat* rvec, CvMat* tvec ) in cvFindExtrinsicCameraParams2() argument
1160 CV_IS_MAT(A) && CV_IS_MAT(rvec) && CV_IS_MAT(tvec) ); in cvFindExtrinsicCameraParams2()
1173 CV_ASSERT( (CV_MAT_DEPTH(tvec->type) == CV_64F || CV_MAT_DEPTH(tvec->type) == CV_32F) && in cvFindExtrinsicCameraParams2()
1174 (tvec->rows == 1 || tvec->cols == 1) && tvec->rows*tvec->cols*CV_MAT_CN(tvec->type) == 3 ); in cvFindExtrinsicCameraParams2()
1318 _t = cvMat( tvec->rows, tvec->cols, in cvFindExtrinsicCameraParams2()
1319 CV_MAKETYPE(CV_64F,CV_MAT_CN(tvec->type)), param + 3 ); in cvFindExtrinsicCameraParams2()
1322 cvConvert( &_t, tvec ); in cvFindExtrinsicCameraParams2()