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

The rotation direction of the esRotate is inverted #46

Open
cook opened this issue Aug 22, 2017 · 0 comments
Open

The rotation direction of the esRotate is inverted #46

cook opened this issue Aug 22, 2017 · 0 comments

Comments

@cook
Copy link
Contributor

cook commented Aug 22, 2017

For example, esRotate(45, 0.f, 0.f, 1.f) should rotate counter clockwised but clockwised actually.

From the other codes, such as the implementation of the function esTranslate and the transpose parameter of the glUniformMatrix4fv always being setted to GL_FALSE, the model matrix is seemed to be column majored, but the implementation of the esRotate and esMatrixMultiply are row majored.

How confusing the codes are!

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