pub type Quaternion<F> = [F; 4];
Expand description
Quaternion
Trait Implementations§
Source§impl<F: Float + Debug + Sum> TQuaternion<F> for Quaternion<F>
TQuaternion for Quaternion
impl<F: Float + Debug + Sum> TQuaternion<F> for Quaternion<F>
TQuaternion for Quaternion
Source§fn from_axis_and_angle(v: &Vector3<F>, a: F) -> Self
fn from_axis_and_angle(v: &Vector3<F>, a: F) -> Self
constructor
Source§fn me(&self) -> &Quaternion<F>
fn me(&self) -> &Quaternion<F>
like as ref
Source§fn to_m4_left(&self) -> Matrix4<F>
fn to_m4_left(&self) -> Matrix4<F>
to Matrix4 (qp = Q4x4 p4)
Source§fn to_m4_right(&self) -> Matrix4<F>
fn to_m4_right(&self) -> Matrix4<F>
to Matrix4 (qp = P4x4 q4)