Home
last modified time | relevance | path

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

/RvlSDK-2.1/build/libraries/wpad/src/
DWPADClamp.c41 static void __ClampCube ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max );
42 static void __ClampSphere ( s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max );
583 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube() argument
585 f32 x = (f32)((f32)*px / (f32)unit.x); in __ClampCube()
586 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampCube()
587 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampCube()
625 *px = (s16)(x * (f32)unit.x); in __ClampCube()
626 *py = (s16)(y * (f32)unit.y); in __ClampCube()
627 *pz = (s16)(z * (f32)unit.z); in __ClampCube()
643 static void __ClampSphere(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampSphere() argument
[all …]
/RvlSDK-2.1/build/demos/memdemo/
Dmakefile56 unit-1.c \
66 unit-1 \
97 $(FULLBIN_ROOT)/unit-1$(BINSUFFIX): unit-1.o \
/RvlSDK-2.1/build/libraries/mtx/src/
Dquat.c409 void C_QUATNormalize( const Quaternion *src, Quaternion *unit ) in C_QUATNormalize() argument
414 ASSERTMSG( ( unit != 0 ), QUAT_NORMALIZE_2 ); in C_QUATNormalize()
422 unit->x = src->x * mag; in C_QUATNormalize()
423 unit->y = src->y * mag; in C_QUATNormalize()
424 unit->z = src->z * mag; in C_QUATNormalize()
425 unit->w = src->w * mag; in C_QUATNormalize()
429 unit->x = unit->y = unit->z = unit->w = 0.0F; in C_QUATNormalize()
439 void PSQUATNormalize( const register Quaternion *src, register Quaternion *unit ) in PSQUATNormalize() argument
481 psq_st sxy, 0(unit), 0, 0 in PSQUATNormalize()
482 psq_st szw, 8(unit), 0, 0 in PSQUATNormalize()
Dvec.c316 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-2.1/include/revolution/
Dmtx.h408 void C_VECNormalize ( const Vec *src, Vec *unit );
423 void PSVECNormalize ( const Vec *src, Vec *unit );
471 void C_QUATNormalize ( const Quaternion *src, Quaternion *unit );
496 void PSQUATNormalize ( const Quaternion *src, Quaternion *unit );