Javascript Matrix and Vector library for High Performance WebGL apps
MIT License
Bot releases are hidden (Show)
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
Published by stefnotch over 4 years ago
Published by stefnotch over 4 years ago
.d.ts
filePublished by stefnotch over 4 years ago
Published by stefnotch about 5 years ago
mat4.getRotation()
bugfixPublished by stefnotch almost 6 years ago
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
Published by stefnotch almost 6 years ago
import * as vec2 from 'gl-matrix/vec2';
)dist/gl-matrix.js
in your website and not importing it, you have to include glMatrix.
before everything (e.g. glMatrix.vec4.create()
instead of vec4.create()
)Published by stefnotch about 6 years ago
Provide ES modules with other ES features transpiled to ES5: https://github.com/toji/gl-matrix/pull/335
Published by stefnotch over 6 years ago
/dist/gl-matrix.js
in production modePublished by stefnotch over 6 years ago
mat4.perspective
supports Infinity
as the last parameterdependencies
Published by toji about 7 years ago
Converted library to use ES2015 syntax and modules. Also incorporated several bug fixes and new features from various pull requests.