Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up`Matrix4::new_orthographic` doesn't let you make upside-down projections. #365
Comments
icefoxen
added a commit
to ggez/ggez
that referenced
this issue
Aug 2, 2018
sebcrozet
added
the
P-medium
label
Sep 4, 2018
sebcrozet
added
the
enhancement
label
Sep 13, 2018
sebcrozet
added a commit
that referenced
this issue
Nov 10, 2018
sebcrozet
referenced this issue
Nov 10, 2018
Merged
Remove over-restrictive assertions on Orthographic3 construction + add doc-tests #466
This comment has been minimized.
This comment has been minimized.
|
I agree this is an useless limitation. It will be fixed in the next minor release of nalgebra. |
sebcrozet
closed this
in
#466
Nov 10, 2018
sebcrozet
added a commit
that referenced
this issue
Nov 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
icefoxen commentedAug 2, 2018
Namely, if you want a projection where +y is down, you do something like...
Matrix4::new_orthographic(0, 1, 1, 0, 1, 0)(left, right, top, bottom, near, far). But it panics when you try to do that, saying the top-left corner must be higher than the bottom-left corner.This isn't really a problem, but is an inconvenience.