[][src]Trait vector2math::Trig

pub trait Trig: Copy + Div<Output = Self> {
    fn cos(self) -> Self;
fn sin(self) -> Self;
fn atan2(self, other: Self) -> Self; fn tan(self) -> Self { ... } }

Trait for trigonometric operations

Required methods

fn cos(self) -> Self

Get the cosine

fn sin(self) -> Self

Get the sine

fn atan2(self, other: Self) -> Self

Get the four-quadrant arctangent

Loading content...

Provided methods

fn tan(self) -> Self

Get the tangent

Loading content...

Implementations on Foreign Types

impl Trig for f32[src]

impl Trig for f64[src]

Loading content...

Implementors

Loading content...