Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.
/ ultra32 Public archive

A vector package using the fast float32array

License

Notifications You must be signed in to change notification settings

mateiadrielrafael/ultra32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚧 This repo has been moved to prescientmoon/ultra32 🚧

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 ]

About

A vector package using the fast float32array

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published