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

gluProject() formula missing perspective divide #80

Open
vegard opened this issue Apr 26, 2020 · 0 comments
Open

gluProject() formula missing perspective divide #80

vegard opened this issue Apr 26, 2020 · 0 comments

Comments

@vegard
Copy link

vegard commented Apr 26, 2020

Hi,

I'm pretty sure gluProject() is missing the perspective divide in its description formulas. The current docs on khronos.org say:
image
But if you look at e.g. https://salsa.debian.org/xorg-team/lib/libglu/-/blob/debian-unstable/src/libutil/project.c#L234 then v'' is definitely divided by w (i.e. v''_3) before converting to window coordinates.

Thanks,

Vegard

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

No branches or pull requests

1 participant