Skip to content

Update vfov parameter to use radians#10

Open
embrenneke wants to merge 1 commit intotparisi:masterfrom
embrenneke:master
Open

Update vfov parameter to use radians#10
embrenneke wants to merge 1 commit intotparisi:masterfrom
embrenneke:master

Conversation

@embrenneke
Copy link

mat4.perpsective() takes the vfov parameter in radians, but all the
lessons were passing in degrees. This pull request converts the
degrees in the lessons to radians, and restores the z-depth to
the values used in the original lesson.

mat4.perpsective() takes the vfov parameter in radians, but all the
lessons were passing in degrees. This pull request converts the
degrees in the lessons to radians, and restores the z-depth to
the values used in the original lesson.
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

Successfully merging this pull request may close these issues.

1 participant