0.0.3 • Published 4 years ago
mathemann v0.0.3
mathemann
yarn add mathemann
import { findLookAtRotation, Vector3 } from "mathemann";
const a = new Vector3(-500, 5, -10);
const b = new Vector3(10, 10.75, 20);
console.log(findLookAtRotation(a, b).toString());
TypeScript to Lua
tstl (TypeScript to Lua) compatible. tstl is currently not able to use npm modules. You have to clone the repository into yours and import from the source (index.ts in root directory) directly.