[−][src]Trait geomath::prelude::transforms::Rotation3
3D rotations matrix
Required methods
fn set_rotation(&mut self, angle: f64, axis: &Vector3) -> &mut Self
Set a rotation matrix from axis and angle
fn set_rotation_x(&mut self, angle: f64) -> &mut Self
Set a rotation matrix around x-axis from given angle
fn set_rotation_y(&mut self, angle: f64) -> &mut Self
Set a rotation matrix around y-axis from given angle
fn set_rotation_z(&mut self, angle: f64) -> &mut Self
Set a rotation matrix around z-axis from given angle
Provided methods
fn from_rotation(angle: f64, axis: &Vector3) -> Self
Get a rotation matrix from axis and angle
fn from_rotation_x(angle: f64) -> Self
Get a rotation matrix around x-axis from given angle
fn from_rotation_y(angle: f64) -> Self
Get a rotation matrix around y-axis from given angle
fn from_rotation_z(angle: f64) -> Self
Get a rotation matrix around z-axis from given angle