1.18.0 • Published 4 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
4 years ago
1.17.0
4 years ago
1.15.0
4 years ago
1.9.0
5 years ago
1.8.0
5 years ago
1.6.6
5 years ago
1.6.4
5 years ago
1.6.3
5 years ago
1.6.2
5 years ago
1.6.1
5 years ago
1.6.0
5 years ago
1.5.0
5 years ago
1.4.0
5 years ago
1.3.1
5 years ago
1.0.0
6 years ago
0.9.1
6 years ago
0.9.0
6 years ago
0.8.0
6 years ago
0.7.1
6 years ago
0.4.0
6 years ago
0.2.0
6 years ago