Fix Ortho when the feature `arbitrary` is enabled.
This commit is contained in:
parent
2fa7ef0e00
commit
0dc3b91abd
|
@ -67,7 +67,7 @@ impl<N: Arbitrary + BaseFloat> Arbitrary for Ortho3<N> {
|
|||
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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue