Fix build error

This commit is contained in:
Brendan Zabarauskas 2013-07-10 20:14:11 +10:00
parent 8bca8757c2
commit 1188cba878

View file

@ -115,7 +115,7 @@ impl<T:Clone + Float> Plane3<T> {
} else { } else {
// The end-point of the ray is at the three-plane intersection between // The end-point of the ray is at the three-plane intersection between
// `self`, `other`, and a tempory plane positioned at the origin // `self`, `other`, and a tempory plane positioned at the origin
do Plane3::from_nd(ray_dir.clone(), zero!(T)).intersection_3pl(self, other).map |&ray_pos| { do Plane3::from_nd(ray_dir.clone(), zero!(T)).intersection_3pl(self, other).map |ray_pos| {
Ray3 { Ray3 {
pos: ray_pos.clone(), pos: ray_pos.clone(),
dir: ray_dir.clone(), dir: ray_dir.clone(),