[][src]Trait fpn::cg::Rotate3

pub trait Rotate3<T> {
    fn rotate_x(&self, v: T) -> Vector3<T>;
fn rotate_y(&self, v: T) -> Vector3<T>;
fn rotate_z(&self, v: T) -> Vector3<T>; }

Rotate provide the coordinate conversion by rotation.

For Vector3, it rotates around axises in counter-clockwise direction.

Required methods

fn rotate_x(&self, v: T) -> Vector3<T>

fn rotate_y(&self, v: T) -> Vector3<T>

fn rotate_z(&self, v: T) -> Vector3<T>

Loading content...

Implementors

impl Rotate3<f32> for Vector3<f32>[src]

impl Rotate3<f64> for Vector3<f64>[src]

impl Rotate3<i16> for Vector3<i16>[src]

impl Rotate3<i32> for Vector3<i32>[src]

impl Rotate3<i64> for Vector3<i64>[src]

impl Rotate3<i8> for Vector3<i8>[src]

impl<F> Rotate3<FPN<i16, F>> for FVector3<i16, F> where
    F: Unsigned
[src]

impl<F> Rotate3<FPN<i32, F>> for FVector3<i32, F> where
    F: Unsigned
[src]

impl<F> Rotate3<FPN<i64, F>> for FVector3<i64, F> where
    F: Unsigned
[src]

impl<F> Rotate3<FPN<i8, F>> for FVector3<i8, F> where
    F: Unsigned
[src]

Loading content...