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

PGraphicsOpenGL : camera info not updated #4609

Closed
FreewheelinFranklin opened this Issue Aug 8, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@FreewheelinFranklin

FreewheelinFranklin commented Aug 8, 2016

camera fields in PGraphicsOpenGL (cameraFOV, cameraX, cameraY, cameraZ, cameraNear, cameraFar, cameraAspect) are not updated by call to perspective(float fov, float aspect, float zNear, float zFar) or frustrum

@codeanticode codeanticode added the opengl label Sep 2, 2016

@codeanticode codeanticode self-assigned this Sep 2, 2016

@codeanticode

This comment has been minimized.

Show comment
Hide comment
@codeanticode

codeanticode Sep 2, 2016

Member

Thanks for pointing out to this. We should have a set of protected default values that cannot be changed, and are set when the user calls perspective() w/out arguments, and the public ones that are updated with the latest camera info.

Member

codeanticode commented Sep 2, 2016

Thanks for pointing out to this. We should have a set of protected default values that cannot be changed, and are set when the user calls perspective() w/out arguments, and the public ones that are updated with the latest camera info.

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