Skip to content

toji/gl-matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

46661b6 · Apr 1, 2020
Apr 1, 2020
Apr 1, 2020
Feb 7, 2013
Aug 18, 2019
Apr 1, 2020
Feb 14, 2020
Nov 18, 2018
Nov 11, 2018
Feb 27, 2018
Apr 1, 2020
Oct 28, 2019
Feb 13, 2020
May 1, 2016
Jul 23, 2018
Feb 13, 2020
May 27, 2019
May 1, 2016
Apr 1, 2020
Feb 3, 2016
Feb 20, 2020
Nov 18, 2018
Apr 1, 2020
Nov 18, 2018

Repository files navigation

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