pub fn transform(&mut self, matrix: Mat4) {
        for pt in self.points.iter_mut() {
            pt.pos = matrix.transform_vector(pt.pos);
        }
    }
/// Applies specified transform to each point in sphere. Can be used to rotate or scale sphere.
/// Transform shouldn't have translation part, otherwise result of bilinear sampling is undefined.
Applies specified transform to each point in sphere. Can be used to rotate or scale sphere.
Transform shouldn't have translation part, otherwise result of bilinear sampling is undefined.
Applies specified transform to each point in sphere . Can be used to rotate or scale sphere . Transform shouldn ' t have translation part otherwise result of bilinear sampling is undefined .
pub fn transform(&mut self, matrix: Mat4) {
        for pt in self.points.iter_mut() {
            pt.pos = matrix.transform_vector(pt.pos);
        }
    }
pub fn transform ( & mut self , matrix : Mat4 ) { for pt in self . points . iter_mut ( ) { pt . pos = matrix . transform_vector ( pt . pos ) ; } }
Applies specified transform to each point in sphere.
Applies specified transform to each point in sphere .
&mut self
matrix
Mat4
&mut self
matrix
Mat4