Lines Matching refs:z
587 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampCube() local
602 if (z < 0.0f) in __ClampCube()
605 z = -z; in __ClampCube()
616 if (z > max) in __ClampCube()
618 z = max; in __ClampCube()
623 z *= signZ; in __ClampCube()
627 *pz = (s16)(z * (f32)unit.z); in __ClampCube()
647 f32 z = (f32)((f32)*pz / (f32)unit.z); in __ClampSphere() local
651 squared = x*x + y*y + z*z; in __ClampSphere()
657 z = z * max / length; in __ClampSphere()
662 *pz = (s16)(z * (f32)unit.z); in __ClampSphere()