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.
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.
See CONTRIBUTING.md
See BUILDING.md
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。