Trait nalgebra::RotationMatrix
[−]
[src]
pub trait RotationMatrix<N, LV: Mul<Self::Output, Output=LV>, AV>: Rotation<AV> { type Output: SquareMat<N, LV> + Rotation<AV>; fn to_rot_mat(&self) -> Self::Output; }
Trait of transformation having a rotation extractable as a rotation matrix. This can typically be implemented by quaternions to convert them to a rotation matrix.
Associated Types
Required Methods
fn to_rot_mat(&self) -> Self::Output
Gets the rotation matrix represented by self
.
Implementors
impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vec2<N>, Vec1<N>> for Rot2<N>
impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vec3<N>, Vec3<N>> for Rot3<N>
impl<N: Zero + BaseNum + Cast<f64> + BaseFloat> RotationMatrix<N, Vec4<N>, Vec4<N>> for Rot4<N>
impl<N: Cast<f64> + BaseFloat> RotationMatrix<N, Vec2<N>, Vec1<N>> for Iso2<N>
impl<N: Cast<f64> + BaseFloat> RotationMatrix<N, Vec3<N>, Vec3<N>> for Iso3<N>