immutable-vector2d
v1.0.3
Published
Vector library based on https://github.com/maxkueng/victor but with immutable vectors
Downloads
1,512
Readme
immutable 2d vector
It's a library based on Victor but with functions that don't modify vectors.
Installation & usage
node.js
npm install immutable-vector2d --save
var Vector = require('immutable-vector2d');
var vec = new Vector(42, 1337);
Test
npm test