diff --git a/src/projection.rs b/src/projection.rs index 2645a86..52d8932 100644 --- a/src/projection.rs +++ b/src/projection.rs @@ -215,10 +215,6 @@ impl Projection for Ortho { impl ToMatrix4 for Ortho { fn to_matrix4(&self) -> Matrix4 { - assert!(self.left < self.right, "`left` cannot be greater than `right`, found: left: {} right: {}", self.left, self.right); - assert!(self.bottom < self.top, "`bottom` cannot be greater than `top`, found: bottom: {} top: {}", self.bottom, self.top); - assert!(self.near < self.far, "`near` cannot be greater than `far`, found: near: {} far: {}", self.near, self.far); - let two: S = cast(2i).unwrap(); let c0r0 = two / (self.right - self.left);