1.18.0 • Published 5 years ago
@pencil.js/math v1.18.0
Math
Wrapper for some mathematical helpers.
Installation
npm install @pencil.js/math
Examples
import * as PMath from "@pencil.js/math";
PMath.truncate(-99.9); // -99
// or
import { constrain } from "@pencil.js/math";
constrain(99, 0, 10); // 10
Documentation
Go check the full documentation.
1.18.0
5 years ago
1.17.0
5 years ago
1.15.0
5 years ago
1.9.0
6 years ago
1.8.0
6 years ago
1.6.6
6 years ago
1.6.4
6 years ago
1.6.3
6 years ago
1.6.2
6 years ago
1.6.1
6 years ago
1.6.0
6 years ago
1.5.0
6 years ago
1.4.0
6 years ago
1.3.1
7 years ago
1.0.0
7 years ago
0.9.1
7 years ago
0.9.0
7 years ago
0.8.0
7 years ago
0.7.1
7 years ago
0.4.0
7 years ago
0.2.0
7 years ago