1.0.1 • Published 6 years ago

ultra32 v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Ultra32

A vector package using the fast float32array

Get started:

To get started, install ultra32:

npm install ultra32 --save

A ultra32 vector is just a Float32Array.

const vec = new Float32Array([0,0]);

You can perform multiple operations:

add(vec,new Float32Array([1,2]));
mul(vec,3);
mirror(vec);

console.log(vec); //Float32Array [ -3, -6 ]
1.0.1

6 years ago

1.0.0

6 years ago