Searched refs:half (Results 1 – 6 of 6) sorted by relevance
708 void C_VECHalfAngle ( const Vec *a, const Vec *b, Vec *half ) in C_VECHalfAngle() argument715 ASSERTMSG( (half != 0), VEC_HALFANGLE_3 ); in C_VECHalfAngle()733 VECNormalize( &hTmp, half ); in C_VECHalfAngle()737 *half = hTmp; in C_VECHalfAngle()
761 f32 half, sh, ch; in C_QUATRotAxisRad() local769 half = rad * 0.50F; in C_QUATRotAxisRad()770 sh = sinf(half); in C_QUATRotAxisRad()771 ch = cosf(half); in C_QUATRotAxisRad()
363 f32 half; in DrawWall() local366 half = size / 2; in DrawWall()385 xx = (f32)(x * STEP - half * STEP); in DrawWall()386 yy0 = (f32)(y * STEP - half * STEP); in DrawWall()387 yy1 = (f32)((y + 1) * STEP - half * STEP); in DrawWall()
246 #define HTB(half) B1(half), B0(half) argument
419 const f32 half = ( 1.0f + overlay ) / 2.0f; in KPADGetCalibratedDPD() local420 const f32 offset = half - overlay; in KPADGetCalibratedDPD()425 result_y = ( src->y - offset ) / half; in KPADGetCalibratedDPD()430 result_y = ( src->y + offset ) / half; in KPADGetCalibratedDPD()
416 void C_VECHalfAngle ( const Vec *a, const Vec *b, Vec *half );