Trait vecmath::traits::Trig
[-] [+]
[src]
pub trait Trig { fn sin(self) -> Self; fn cos(self) -> Self; fn tan(self) -> Self; fn asin(self) -> Self; fn acos(self) -> Self; fn atan(self) -> Self; }
Basic trigonometry functions
Required Methods
fn sin(self) -> Self
Returns sine of self
fn cos(self) -> Self
Returns cosine of self
fn tan(self) -> Self
Returns tangent of self
fn asin(self) -> Self
Returns inverse sine of self
fn acos(self) -> Self
Returns inverse cosine of self
fn atan(self) -> Self
Returns inverse tangent of self