[][src]Trait nova_math::traits::CrossProduct

pub trait CrossProduct {
    fn cross(&self, rhs: &Self) -> Self;
}

This type can be used to produce a cross product

Required methods

fn cross(&self, rhs: &Self) -> Self

Produce the cross product of self and rhs

Note

This can only really be implemented for a 3 component vector but is a trait to allow for separating storage from implementation

Loading content...

Implementors

impl<T: Real> CrossProduct for TVec3<T>[src]

Loading content...