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

Add getRotation return a Matrix3 object #95

Merged
merged 2 commits into from
Aug 26, 2019
Merged

Add getRotation return a Matrix3 object #95

merged 2 commits into from
Aug 26, 2019

Conversation

xintongxia
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Aug 25, 2019

Coverage Status

Coverage increased (+0.03%) to 90.49% when pulling 58b12cc on xx/rot into bba0e71 on master.

modules/core/docs/api-reference/matrix4.md Outdated Show resolved Hide resolved
@@ -127,7 +127,8 @@ export default function matrix4Bench(suite, addReferenceBenchmarks) {
.add('Matrix4#determinant()', () => matrix4.determinant())
.add('Matrix4#getScale()', () => matrix4.getScale())
.add('Matrix4#getTranslation()', () => matrix4.getTranslation())
.add('Matrix4#getRotation()', () => matrix4.getRotation());
.add('Matrix4#getRotation()', () => matrix4.getRotation())
.add('Matrix4#getRotationMatrix3()', () => matrix4.getRotationMatrix3());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated: For the best performance these should all have a result passed in...

@xintongxia xintongxia merged commit 668aeeb into master Aug 26, 2019
@xintongxia xintongxia deleted the xx/rot branch August 26, 2019 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants