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

Update docs to express angles are in radians #367

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

mix3d
Copy link
Contributor

@mix3d mix3d commented Sep 5, 2019

No functionality changes, but some function inputs were renamed to match the usage in other classes, and the jsdoc updated to match.

I lost an hour of debugging because it wasn't explicit in the docs that vec2/vec3 rotations were in radians, hopefully this prevents others from the same problem.

Also cleaned up some messy whitespace.

@stefnotch
Copy link
Collaborator

Good point, gl-matrix's documentation and function parameter names were a bit inconsistent here. Thanks for the PR, merged! 😄

(The Travis CI failure seems to be unrelated.)

@stefnotch stefnotch merged commit 45c5791 into toji:master Sep 6, 2019
@stefnotch stefnotch added this to the 3.2 milestone Feb 13, 2020
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.

2 participants