gl-matrix-vec2
v2.2.1-npm
Published
Standalone Vector2 component of gl-matrix
Downloads
802
Readme
component-glmatrix/vec2
These repositories break up the glMatrix library into discrete components. This module contains code for 2d vectors
Installation
Install with npm(1):
$ npm install --save gl-matrix-vec2
var vec2 = require('gl-matrix-vec2');
Install with component(1):
$ component install component-glmatrix/vec2
var vec2 = require('vec2');
glMatrix
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, news, tutorials, and more visit the glMatrix Homepage
License
BSD