Repository navigation
Conversation
liamegan
commented
Nov 26, 2026
Member
- Mat2.fromAngle and Mat3.fromAngle now turn counter-clockwise, matching rotate and Vec2.rotate.
- Mat3.fromQuat now rotates the same way as transformByQuat and matches the top-left 3×3 of Mat4.fromQuat. It used to rotate by the inverse.
- columnArray on Mat2 and Mat3 now returns column-major order, the same as array, and is marked deprecated. A new rowArray gives the row-major order it used to return. array order for the classes remains column-major.
- Quat.inverse and inverseNew are now another name for invert and invertNew, rather than taking 1 / x of each component.
- Mat4.transformToNew sets the translation instead of adding to it.
- Mat4.rotation is now right for non-uniform scale: it divides each column by that column's own scale.
- Quat.lerp and Quat.interpolate now return a Quat.
- Mat3.translate accepts a plain array or object as well as a Vec2, and has a new translateNew. Mat4.fromRotation's axis is now typed as a vector instead of any.
- Mat2.fromAngle and Mat3.fromAngle now turn counter-clockwise, matching rotate and Vec2.rotate. - Mat3.fromQuat now rotates the same way as transformByQuat and matches the top-left 3×3 of Mat4.fromQuat. It used to rotate by the inverse. - columnArray on Mat2 and Mat3 now returns column-major order, the same as array, and is marked deprecated. A new rowArray gives the row-major order it used to return. array order for the classes remains column-major. - Quat.inverse and inverseNew are now another name for invert and invertNew, rather than taking 1 / x of each component. - Mat4.transformToNew sets the translation instead of adding to it. - Mat4.rotation is now right for non-uniform scale: it divides each column by that column's own scale. - Quat.lerp and Quat.interpolate now return a Quat. - Mat3.translate accepts a plain array or object as well as a Vec2, and has a new translateNew. Mat4.fromRotation's axis is now typed as a vector instead of any.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.