Lines Matching refs:py
38 static void __ClampStickOctagon ( void *px, void *py, s16 max, s16 xy, s16 min, u8 type );
39 static void __ClampStickCircle ( void *px, void *py, s16 radius, s16 min, u8 type );
41 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 );
341 static void __ClampStickOctagon(void* px, void* py, s16 max, s16 xy, s16 min, u8 type) in __ClampStickOctagon() argument
352 y = *((s8*)py); in __ClampStickOctagon()
357 y = *((s16*)py); in __ClampStickOctagon()
403 *((s8*)py) = 0; in __ClampStickOctagon()
408 *((s16*)py) = 0; in __ClampStickOctagon()
453 *(s8*)py = (s8) (signY * y); in __ClampStickOctagon()
458 *(s16*)py = (s16) (signY * y); in __ClampStickOctagon()
474 static void __ClampStickCircle(void *px, void *py, s16 radius, s16 min, u8 type) in __ClampStickCircle() argument
484 y = *((s8*)py); in __ClampStickCircle()
489 y = *((s16*)py); in __ClampStickCircle()
533 *(s8*)py = (s8)y; in __ClampStickCircle()
538 *(s16*)py = (s16)y; in __ClampStickCircle()
583 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube() argument
586 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampCube()
626 *py = (s16)(y * (f32)unit.y); in __ClampCube()
643 static void __ClampSphere(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampSphere() argument
646 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampSphere()
661 *py = (s16)(y * (f32)unit.y); in __ClampSphere()