Skip to main content

gfxmath_vec3/ops/
cross.rs

1/// Perform the cross product of vectors
2pub trait Cross<Rhs = Self> {
3    type Output;
4    fn cross(self, rhs: Rhs) -> Self::Output;
5}