pub fn with_rotation<Ax, An>(mut self, axis: Ax, angle: An) -> Self
    where
        Ax: Into<Vector3<f32>>,
        An: Into<Deg<f32>>,
    {
        let rot = Matrix4::from_axis_angle(axis.into(), angle.into());
        self.transform.concat_self(&rot);
        self
    }
/// Rotates the mesh a certain number of degrees around the given axis.
Rotates the mesh a certain number of degrees around the given axis.
Rotates the mesh a certain number of degrees around the given axis .
pub fn with_rotation<Ax, An>(mut self, axis: Ax, angle: An) -> Self
    where
        Ax: Into<Vector3<f32>>,
        An: Into<Deg<f32>>,
    {
        let rot = Matrix4::from_axis_angle(axis.into(), angle.into());
        self.transform.concat_self(&rot);
        self
    }
pub fn with_rotation < Ax , An > ( mut self , axis : Ax , angle : An ) -> Self where Ax : Into < Vector3 < f32 > > , An : Into < Deg < f32 > > , { let rot = Matrix4 :: from_axis_angle ( axis . into ( ) , angle . into ( ) ) ; self . transform . concat_self ( & rot ) ; self }
Rotates the mesh a certain number of degrees around the given axis.
Rotates the mesh a certain number of degrees around the given axis .
mut self
axis
Ax
angle
An
mut self
axis
Ax
angle
An