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

Add support for infinite projection matrices #23

Merged
merged 1 commit into from
Sep 18, 2019

Commits on Sep 17, 2019

  1. Add support for building infinite projection matrices.

    Both standard and reverse depth.
    
    The infinite reverse projection matrix is the only one we use, and it is the one with the best precision and the simplest construction. So really the one most everyone should use by default.
    
    Probably should rename the perspective_glu function here also, or maybe (depending on how opionated we want to be) simply remove it? It is only useful in OpenGL due to the -1,1 depth range and it should have a `_rh` suffix to indicate it is right-handed.
    repi committed Sep 17, 2019
    Configuration menu
    Copy the full SHA
    36bf36a View commit details
    Browse the repository at this point in the history