From 0dc3b91abd3ca8fb692d44247f374aa5e7407a34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Thu, 31 Mar 2016 21:44:42 +0200 Subject: [PATCH] Fix Ortho when the feature `arbitrary` is enabled. --- src/structs/ortho.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }