Standalone Vector2 component of gl-matrix
npm install gl-matrix-vec2These repositories break up the glMatrix library into discrete components. This module contains code for 2d vectors
Install with npm(1):
``sh`
$ npm install --save gl-matrix-vec2
`js`
var vec2 = require('gl-matrix-vec2');
Install with component(1):
`sh`
$ component install component-glmatrix/vec2
`js``
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
BSD