Fix RowVector3 cross product

This commit is contained in:
Nil Goyette 2018-01-17 11:23:27 -05:00
parent 27499111ee
commit 2ad227661a
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ impl<N: Scalar + Ring, R: Dim, C: Dim, S: Storage<N, R, C>> Matrix<N, R, C, S> {
*res.get_unchecked_mut(0, 0) = ay * bz - az * by;
*res.get_unchecked_mut(0, 1) = az * bx - ax * bz;
*res.get_unchecked_mut(0, 2) = az * bx - ax * bz;
*res.get_unchecked_mut(0, 2) = ax * by - ay * bx;
res
}