Trait matmath::special_matrices::rotation::Trig [−][src]
pub trait Trig where
Self::Output: Neg<Output = Self::Output> + Sized, { type Output; fn sin(self) -> Self::Output; fn cos(self) -> Self::Output; }
This trait ensures that whatever is used as the element has to have Trig (sin and cos) functionality You have to implement it if you want to use rotation matrices
Associated Types
type Output
Required Methods
Implementations on Foreign Types
impl Trig for f32
[src]
impl Trig for f32
impl Trig for f64
[src]
impl Trig for f64