pub fn move_to(&mut self, target: Point3<f32>) {
        if let Some(ref extent) = self.extent {
            self.transform
                .get_or_insert_with(Transform::default)
                .translation += target - extent.centroid();
        }
    }
/// Move the scene so the center of the bounding box is at the given `target` location.
Move the scene so the center of the bounding box is at the given `target` location.
Move the scene so the center of the bounding box is at the given ` target ` location .
pub fn move_to(&mut self, target: Point3<f32>) {
        if let Some(ref extent) = self.extent {
            self.transform
                .get_or_insert_with(Transform::default)
                .translation += target - extent.centroid();
        }
    }
pub fn move_to ( & mut self , target : Point3 < f32 > ) { if let Some ( ref extent ) = self . extent { self . transform . get_or_insert_with ( Transform :: default ) . translation += target - extent . centroid ( ) ; } }
Move the scene so the center of the bounding box is at the given `target` location.
Move the scene so the center of the bounding box is at the given ` target ` location .
&mut self
target
Point3<f32>
&mut self
target
Point3<f32>