Lines Matching refs:f32
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 );
583 static void __ClampCube(s16 *px, s16 *py, s16 *pz, WPADAcc unit, f32 max) in __ClampCube()
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()
588 f32 signX = 1.0f; in __ClampCube()
589 f32 signY = 1.0f; in __ClampCube()
590 f32 signZ = 1.0f; 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()
645 f32 x = (f32)((f32)*px / (f32)unit.x); in __ClampSphere()
646 f32 y = (f32)((f32)*py / (f32)unit.y); in __ClampSphere()
647 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampSphere()
648 f32 length; in __ClampSphere()
649 f32 squared; in __ClampSphere()
660 *px = (s16)(x * (f32)unit.x); in __ClampSphere()
661 *py = (s16)(y * (f32)unit.y); in __ClampSphere()
662 *pz = (s16)(z * (f32)unit.z); in __ClampSphere()