Searched refs:unit (Results 1 – 5 of 5) sorted by relevance
| /RvlSDK-3.2/build/libraries/wpad/src/ |
| D | WPADClamp.c | 44 static void __ClampCube ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 45 static void __ClampSphere ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max ); 586 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube() argument 588 f32 x = (f32)((f32)*px / (f32)unit.x); in __ClampCube() 589 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampCube() 590 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampCube() 628 *px = (s16)(x * (f32)unit.x); in __ClampCube() 629 *py = (s16)(y * (f32)unit.y); in __ClampCube() 630 *pz = (s16)(z * (f32)unit.z); in __ClampCube() 646 static void __ClampSphere(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampSphere() argument [all …]
|
| /RvlSDK-3.2/build/demos/memdemo/ |
| D | makefile | 56 unit-1.c \ 66 unit-1 \ 97 $(FULLBIN_ROOT)/unit-1$(BINSUFFIX): unit-1.o \
|
| /RvlSDK-3.2/build/libraries/mtx/src/ |
| D | quat.c | 408 void C_QUATNormalize( const Quaternion *src, Quaternion *unit ) in C_QUATNormalize() argument 413 ASSERTMSG( ( unit != 0 ), QUAT_NORMALIZE_2 ); in C_QUATNormalize() 421 unit->x = src->x * mag; in C_QUATNormalize() 422 unit->y = src->y * mag; in C_QUATNormalize() 423 unit->z = src->z * mag; in C_QUATNormalize() 424 unit->w = src->w * mag; in C_QUATNormalize() 428 unit->x = unit->y = unit->z = unit->w = 0.0F; in C_QUATNormalize() 438 void PSQUATNormalize( const register Quaternion *src, register Quaternion *unit ) in PSQUATNormalize() argument 480 psq_st sxy, 0(unit), 0, 0 in PSQUATNormalize() 481 psq_st szw, 8(unit), 0, 0 in PSQUATNormalize()
|
| D | vec.c | 316 void C_VECNormalize ( const Vec *src, Vec *unit ) in C_VECNormalize() argument 322 ASSERTMSG( (unit != 0), VEC_NORMALIZE_2 ); in C_VECNormalize() 331 unit->x = src->x * mag; in C_VECNormalize() 332 unit->y = src->y * mag; in C_VECNormalize() 333 unit->z = src->z * mag; in C_VECNormalize()
|
| /RvlSDK-3.2/include/revolution/ |
| D | mtx.h | 411 void C_VECNormalize ( const Vec *src, Vec *unit ); 426 void PSVECNormalize ( const Vec *src, Vec *unit ); 474 void C_QUATNormalize ( const Quaternion *src, Quaternion *unit ); 499 void PSQUATNormalize ( const Quaternion *src, Quaternion *unit );
|