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
Closed
Labels

Comments

@icefoxen
Copy link
Contributor

icefoxen 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.

@sebcrozet
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants