Fix mirror in xz plane after changing to cgmath
@@ -31,9 +31,9 @@ impl BaseCamera
pub fn mirror_in_xz_plane(&mut self)
{
- self.view[0][1] = -self.view[0][1];
+ self.view[1][0] = -self.view[1][0];
self.view[1][1] = -self.view[1][1];
- self.view[2][1] = -self.view[2][1];
+ self.view[1][2] = -self.view[1][2];
}
}
