NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3481 most downloaded on npm
Javascript Matrix and Vector library for High Performance WebGL apps
Last release 1 years ago
08 Aug 2025
Release timing varies
gaps range from 2 months to 1.5 years
Some releases are documented
notes for 10 of 22 stable releases
3 versions withdrawn
withdrawn after publishing
14 years old
28 releases · first in 2013
Nothing published for this version
Nothing published for this version
Merged multiple pull requests, addressed upcoming compatibility issues with Typescript, and updated some dependencies.
Merged multiple pull requests, addressed upcoming compatibility issues with Typescript, and updated some dependencies.
vec4.random by @Lakuna in https://github.com/toji/gl-matrix/pull/458common.glMatrix equals method added optional param tolerance by default equals to EPSILON by @psnet in https://github.com/toji/gl-matrix/pull/469Full Changelog: https://github.com/toji/gl-matrix/compare/v3.4.1...v3.4.4
One column per quarter.
Nothing published for this version
Nothing published for this version
Rolls up various changes made since v3.3.0 while avoiding a backwards compatibility breaking change in how node modules were handled.
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.
Full Changelog: https://github.com/toji/gl-matrix/compare/v3.3.0...v3.4.1
Nothing published for this version
Fixed type of setMatrixArrayType
Documentation is now generated correctly again
.d.ts filegl-matrix now comes with a `.d.ts` file on npm
`Math.sqrt(Math.pow(x,2))` has been replaced with `Math.hypot`
mat4.getRotation() bugfixCherry-picking gl-matrix is now possible https://github.com/toji/gl-matrix/pull/339 https://github.com/toji/gl-matrix/pull/343 (e.g. import * as vec2
Cherry-picking gl-matrix is now possible https://github.com/toji/gl-matrix/pull/339 https://github.com/toji/gl-matrix/pull/343 (e.g. import * as vec2 from 'gl-matrix/vec2';)
Webpack has been replaced with rollup https://github.com/toji/gl-matrix/pull/345
When simply including dist/gl-matrix.js in your website, the single top level object is now glMatrix instead of polluting the global namespace with vec2, vec3, mat4, etc.
Object.assign(window, glMatrix)vec4.cross has been implemented
vec2/3/4.zero has been implemented
Nothing published for this version
Provide ES modules with other ES features transpiled to ES5: https://github.com/toji/gl-matrix/pull/335
Provide ES modules with other ES features transpiled to ES5: https://github.com/toji/gl-matrix/pull/335
Nothing published for this version
Compiling `/dist/gl-matrix.js` in production mode
/dist/gl-matrix.js in production modemat4.perspective supports Infinity as the last parameter
mat4.perspective supports Infinity as the last parameterdependenciesNothing published for this version
Nothing published for this version
Nothing published for this version
Converted library to use ES2015 syntax and modules. Also incorporated several bug fixes and new features from various pull requests.
Converted library to use ES2015 syntax and modules. Also incorporated several bug fixes and new features from various pull requests.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →