diff --git a/src/structs/ortho.rs b/src/structs/ortho.rs index 1bff6367..f5ac882f 100644 --- a/src/structs/ortho.rs +++ b/src/structs/ortho.rs @@ -67,7 +67,7 @@ impl Arbitrary for Ortho3 { let top = reject(g, |x: &N| *x > bottom); let znear = Arbitrary::arbitrary(g); let zfar = reject(g, |x: &N| *x > znear); - Ortho3::new(width, height, znear, zfar) + Ortho3::new(left, right, bottom, top, znear, zfar) } }