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

More right and left handed projection matrix support plus support for glClipControl GL_ZERO_TO_ONE #447

Merged
merged 1 commit into from
Nov 22, 2015

Conversation

Karanlos
Copy link

Hi,

I've added some more RH and LH projection functions for frustum, ortho and infinite projection.

Also made created some support for glClipControl with GL_ZERO_TO_ONE which is also the default in DX and Metal.
My idea is having a global definition which specifies the depth (GLM_DEPTH_ZERO_TO_ONE).
Tested the ZERO_TO_ONE matrices against the default DX library.

@Groovounet Groovounet added this to the GLM 0.9.8 milestone Nov 22, 2015
@Groovounet Groovounet self-assigned this Nov 22, 2015
Groovounet added a commit that referenced this pull request Nov 22, 2015
More right and left handed projection matrix support plus support for glClipControl GL_ZERO_TO_ONE #447
@Groovounet Groovounet merged commit 0d2fd87 into g-truc:master Nov 22, 2015
@Groovounet
Copy link
Member

Thanks for contributing,
Christophe

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

Successfully merging this pull request may close these issues.

2 participants