Trait maths_rs::mat::MatRotate2D
source · pub trait MatRotate2D<T> {
// Required method
fn from_z_rotation(theta: T) -> Self;
}Expand description
trait for minimum of 2x2 matrices applying rotation in z-axis
Required Methods§
sourcefn from_z_rotation(theta: T) -> Self
fn from_z_rotation(theta: T) -> Self
create rotation about the z axis by theta radians