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 bde8fbe10f
commit 04eb817779
1 changed files with 1 additions and 1 deletions

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)
}