1.1.0 • Published 10 years ago
pvector v1.1.0
pvector
vector for physics
Installation
$ npm install pvector
Examples
var PVector = require('PVector');
var v1 = PVector(1, 1);
var v2 = PVector(2 ,2);
v1.setMag(10).sub(v2).heading();
Usage
see: PVector/test
License
MIT