codeMan f03f940133 2023-6-20 2 лет назад
..
cjs f03f940133 2023-6-20 2 лет назад
esm f03f940133 2023-6-20 2 лет назад
mat2 f03f940133 2023-6-20 2 лет назад
mat2d f03f940133 2023-6-20 2 лет назад
mat3 f03f940133 2023-6-20 2 лет назад
mat4 f03f940133 2023-6-20 2 лет назад
quat f03f940133 2023-6-20 2 лет назад
quat2 f03f940133 2023-6-20 2 лет назад
types.d.ts f03f940133 2023-6-20 2 лет назад
vec2 f03f940133 2023-6-20 2 лет назад
vec3 f03f940133 2023-6-20 2 лет назад
vec4 f03f940133 2023-6-20 2 лет назад
LICENSE.md f03f940133 2023-6-20 2 лет назад
README.md f03f940133 2023-6-20 2 лет назад
gl-matrix-min.js f03f940133 2023-6-20 2 лет назад
gl-matrix.js f03f940133 2023-6-20 2 лет назад
index.d.ts f03f940133 2023-6-20 2 лет назад
package.json f03f940133 2023-6-20 2 лет назад

README.md

glMatrix

NPM Version Build Status

Javascript has evolved into a language capable of handling realtime 3D graphics, via WebGL, and computationally intensive tasks such as physics simulations. These types of applications demand high performance vector and matrix math, which is something that Javascript doesn't provide by default. glMatrix to the rescue!

glMatrix is designed to perform vector and matrix operations stupidly fast! By hand-tuning each function for maximum performance and encouraging efficient usage patterns through API conventions, glMatrix will help you get the most out of your browsers Javascript engine.

Learn More

For documentation and news, visit the glMatrix Homepage

For a tutorial, see the "introducing glMatrix" section of Introduction to Computer Graphics by David J. Eck

For a babel plugin to make writing the API nicer, see babel-plugin-transfrom-gl-matrix

Regarding the current performance in modern web browsers, calling glMatrix.setMatrixArrayType(Array) to use normal arrays instead of Float32Arrays can greatly increase the performance.

Contributing Guidelines

See CONTRIBUTING.md

Building

See BUILDING.md