Skip to content

dead-horse/pvector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pvector

NPM version build status Test coverage Gittip

browser support

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