codeMan 0c1219796a 测试提交 1 년 전
..
cjs 0c1219796a 测试提交 1 년 전
esm 0c1219796a 测试提交 1 년 전
mat2 0c1219796a 测试提交 1 년 전
mat2d 0c1219796a 测试提交 1 년 전
mat3 0c1219796a 测试提交 1 년 전
mat4 0c1219796a 测试提交 1 년 전
quat 0c1219796a 测试提交 1 년 전
quat2 0c1219796a 测试提交 1 년 전
types.d.ts 0c1219796a 测试提交 1 년 전
vec2 0c1219796a 测试提交 1 년 전
vec3 0c1219796a 测试提交 1 년 전
vec4 0c1219796a 测试提交 1 년 전
LICENSE.md 0c1219796a 测试提交 1 년 전
README.md 0c1219796a 测试提交 1 년 전
gl-matrix-min.js 0c1219796a 测试提交 1 년 전
gl-matrix.js 0c1219796a 测试提交 1 년 전
index.d.ts 0c1219796a 测试提交 1 년 전
package.json 0c1219796a 测试提交 1 년 전

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