Fixes #637: removes not used parameter from cross

This commit is contained in:
alex 2019-09-05 20:44:23 +02:00 committed by Sébastien Crozet
parent d35779d3f2
commit fedf0fb4f5

View File

@ -4,7 +4,7 @@ use crate::aliases::{TVec, TVec3};
use crate::traits::{Alloc, Dimension, Number};
/// The cross product of two vectors.
pub fn cross<N: Number, D: Dimension>(x: &TVec3<N>, y: &TVec3<N>) -> TVec3<N> {
pub fn cross<N: Number>(x: &TVec3<N>, y: &TVec3<N>) -> TVec3<N> {
x.cross(y)
}