Lines Matching refs:z
590 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampCube() local
605 if (z < 0.0f) in __ClampCube()
608 z = -z; in __ClampCube()
619 if (z > max) in __ClampCube()
621 z = max; in __ClampCube()
626 z *= signZ; in __ClampCube()
630 *pz = (s16)(z * (f32)unit.z); in __ClampCube()
650 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampSphere() local
654 squared = x*x + y*y + z*z; in __ClampSphere()
660 z = z * max / length; in __ClampSphere()
665 *pz = (s16)(z * (f32)unit.z); in __ClampSphere()