pub fn sphere_intersecting(&self, x: &f32, y: &f32, z: &f32, r: &f32) -> bool {
        for p in 0..6 {
            if self.planes[p][0] * x + self.planes[p][1] * y + self.planes[p][2] * z + self.planes[p][3] <= (0.0f32 - r) {
                return false;
            }
        }
        true
    }
/// A sphere is intersecting the renderable region of the frustum
///
A sphere is intersecting the renderable region of the frustum
A sphere is intersecting the renderable region of the frustum
pub fn sphere_intersecting(&self, x: &f32, y: &f32, z: &f32, r: &f32) -> bool {
        for p in 0..6 {
            if self.planes[p][0] * x + self.planes[p][1] * y + self.planes[p][2] * z + self.planes[p][3] <= (0.0f32 - r) {
                return false;
            }
        }
        true
    }
pub fn sphere_intersecting ( & self , x : & f32 , y : & f32 , z : & f32 , r : & f32 ) -> bool { for p in 0 .. 6 { if self . planes [ p ] [ 0 ] * x + self . planes [ p ] [ 1 ] * y + self . planes [ p ] [ 2 ] * z + self . planes [ p ] [ 3 ] <= ( 0.0f32 - r ) { return false ; } } true }
A sphere is intersecting the renderable region of the frustum
A sphere is intersecting the renderable region of the frustum
&self
x
&f32
y
&f32
z
&f32
r
&f32
&self
x
&f32
y
&f32
z
&f32
r
&f32