@raymondz/vector-math
v0.1.2
Published
Lightweight immutable vector math utilities for physics simulations
Maintainers
Readme
@raymondz/vector-math
Lightweight immutable vector math utilities for 2D/3D physics simulations.
Installation
npm install @raymondz/vector-mathUsage
import { Vec2, Vec3, Utils } from "@raymondz/vector-math";
const v = new Vec2(3,4).normalize();
console.log(v.toString());