nalgebra/src/traits/cross.rs
2013-05-21 22:46:33 +00:00

9 lines
198 B
Rust

/**
* Trait of elements having a cross product.
*/
pub trait Cross<Result>
{
/// Computes the cross product between two elements (usually vectors).
fn cross(&self, other : &Self) -> Result;
}