pub fn rotate(&mut self, roll: f32, pitch: f32, yaw: f32) {

        let rot = Rotation3::from_euler_angles(roll, pitch, yaw);

        // self.axes = rot.transpose() * self.axes // transpose because nalgebra uses col-major matrices
        self.coordinates = rot * self.coordinates

    }
/// Rotates frame using euler angles rotations with a ZYX sequence
Rotates frame using euler angles rotations with a ZYX sequence
Rotates frame using euler angles rotations with a ZYX sequence
pub fn rotate(&mut self, roll: f32, pitch: f32, yaw: f32) {
        let rot = Rotation3::from_euler_angles(roll, pitch, yaw);
        // self.axes = rot.transpose() * self.axes // transpose because nalgebra uses col-major matrices
        self.coordinates = rot * self.coordinates
    }
pub fn rotate ( & mut self , roll : f32 , pitch : f32 , yaw : f32 ) { let rot = Rotation3 :: from_euler_angles ( roll , pitch , yaw ) ; // self.axes = rot.transpose() * self.axes // transpose because nalgebra uses col-major matrices self . coordinates = rot * self . coordinates }
Rotates frame using euler angles rotations with a ZYX sequence
Rotates frame using euler angles rotations with a ZYX sequence
&mut self
roll
f32
pitch
f32
yaw
f32
&mut self
roll
f32
pitch
f32
yaw
f32