Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`Matrix4::new_orthographic` doesn't let you make upside-down projections. #365

Closed
icefoxen opened this issue Aug 2, 2018 · 1 comment

Comments

@icefoxen
Copy link
Contributor

commented Aug 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.

icefoxen added a commit to ggez/ggez that referenced this issue Aug 2, 2018

@sebcrozet sebcrozet added the P-medium label Sep 4, 2018

sebcrozet added a commit that referenced this issue Nov 10, 2018

@sebcrozet

This comment has been minimized.

Copy link
Member

commented Nov 10, 2018

I agree this is an useless limitation. It will be fixed in the next minor release of nalgebra.

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
Projects
None yet
2 participants
You can’t perform that action at this time.