Lightweight immutable vector math utilities for physics simulations
npm install @raymondz/vector-mathLightweight immutable vector math utilities for 2D/3D physics simulations.
``bash`
npm install @raymondz/vector-math
ts
import { Vec2, Vec3, Utils } from "@raymondz/vector-math";const v = new Vec2(3,4).normalize();
console.log(v.toString());
``