Trait nalgebra::Cross [] [src]

pub trait Cross {
    type CrossProductType;
    fn cross(&self, other: &Self) -> Self::CrossProductType;
}

Trait of elements having a cross product.

Associated Types

type CrossProductType

The cross product output.

Required Methods

fn cross(&self, other: &Self) -> Self::CrossProductType

Computes the cross product between two elements (usually vectors).

Implementors