Skip to content

TypeScript library of pure mathematical utility functions.

Notifications You must be signed in to change notification settings

mmmurray/mantissa

Repository files navigation

Mantissa

TypeScript library of pure mathematical utility functions.

Install

yarn add mantissa

Or

npm i mantissa

Usage

import { vec2, vec2Add } from 'mantissa';

const a = vec2(1, 2);
const b = vec2(3, 4);
const c = vec2Add(a, b);