Releases: toji/gl-matrix
Releases · toji/gl-matrix
v3.4.1
Rolls up various changes made since v3.3.0 while avoiding a backwards compatibility breaking change in how node modules were handled.
Note that a 3.4.0 was briefly published to npm with that breaking change before being deprecated in favor of this version.
What's Changed
- Improve mat4 determinant algorithm by @rhendric in #384
- Improve mat4 adjoint algorithm by @rhendric in #385
- Changed array type by @anvaka in #387
- add combined TRS decompose for mat4 by @randName in #402
- Support multiple intrinsic orders in quat.fromEuler by @DCtheTall in #407
- Add mat4.perspectiveZO, mat4.orthoZO for WebGPU by @toji in #413
- fix: typo by @ahaoboy in #416
- fix!: use dot product to compute quaternions equality by @Wawa27 in #418
- Optimize angle(v1, v2) by @munrocket in #430
- Optimize angle(a,b) for Vec2 by @munrocket in #431
New Contributors
- @rhendric made their first contribution in #384
- @anvaka made their first contribution in #387
- @randName made their first contribution in #402
- @DCtheTall made their first contribution in #407
- @ahaoboy made their first contribution in #416
- @Wawa27 made their first contribution in #418
- @munrocket made their first contribution in #430
Full Changelog: v3.3.0...v3.4.1
v3.3.0
v3.2.1
Minor fixes
- Fixed
.d.ts
file - Documentation is now generated correctly again
v3.2.0
Notable changes
Performance improvements
Minor fixes
- Document that angles are in radians
- mat2d documentation comment has been corrected
- devDependencies have been updated
v3.1.0
Notable changes
Performance improvements
Minor fixes
- GitHub repository can be used as an npm dependency
mat4.getRotation()
bugfix- mat2d identity documentation comment has been corrected
- devDependencies have been updated
v3.0.0
Notable changes
-
Cherry-picking gl-matrix is now possible #339 #343 (e.g.
import * as vec2 from 'gl-matrix/vec2';
) -
Webpack has been replaced with rollup #345
-
When simply including
dist/gl-matrix.js
in your website, the single top level object is nowglMatrix
instead of polluting the global namespace withvec2
,vec3
,mat4
, etc.- A quick fix to get the old behavior back is
Object.assign(window, glMatrix)
- A quick fix to get the old behavior back is
-
vec4.cross
has been implemented -
vec2/3/4.zero
has been implemented
Minor fixes
v3.0.0 Pre-release
Notable changes
- Cherry-picking gl-matrix is now possible #339 #343 (e.g.
import * as vec2 from 'gl-matrix/vec2';
) - Webpack has been replaced with rollup #345
- When simply including
dist/gl-matrix.js
in your website and not importing it, you have to includeglMatrix.
before everything (e.g.glMatrix.vec4.create()
instead ofvec4.create()
)
Minor fixes
v2.8.1
v2.7.0
Notable changes:
- Compiling
/dist/gl-matrix.js
in production mode - Tree shaking improvements
- Fixes dual quaternion normalizing
- Added quat.random()
Performance improvements:
Minor fixes:
v2.6.1
- Dual Quaternions
mat4.perspective
supportsInfinity
as the last parameter- Minor performance improvements
- Various bug fixes
- Fewer
dependencies