Lines Matching refs:py
41 static void __ClampStickOctagon ( void *px, void *py, s16 max, s16 xy, s16 min, u8 type );
42 static void __ClampStickCircle ( void *px, void *py, s16 radius, s16 min, u8 type );
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 );
344 static void __ClampStickOctagon(void* px, void* py, s16 max, s16 xy, s16 min, u8 type) in __ClampStickOctagon() argument
355 y = *((s8*)py); in __ClampStickOctagon()
360 y = *((s16*)py); in __ClampStickOctagon()
406 *((s8*)py) = 0; in __ClampStickOctagon()
411 *((s16*)py) = 0; in __ClampStickOctagon()
456 *(s8*)py = (s8) (signY * y); in __ClampStickOctagon()
461 *(s16*)py = (s16) (signY * y); in __ClampStickOctagon()
477 static void __ClampStickCircle(void *px, void *py, s16 radius, s16 min, u8 type) in __ClampStickCircle() argument
487 y = *((s8*)py); in __ClampStickCircle()
492 y = *((s16*)py); in __ClampStickCircle()
536 *(s8*)py = (s8)y; in __ClampStickCircle()
541 *(s16*)py = (s16)y; in __ClampStickCircle()
586 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube() argument
589 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampCube()
629 *py = (s16)(y * (f32)unit.y); in __ClampCube()
646 static void __ClampSphere(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampSphere() argument
649 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampSphere()
664 *py = (s16)(y * (f32)unit.y); in __ClampSphere()