Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 285 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 285 Bytes

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);