-
Notifications
You must be signed in to change notification settings - Fork 9
Range
Will Blanton edited this page Sep 13, 2019
·
3 revisions
A Range class with a min Float and max Float.
var range = Range.get(0, 50);
range.in_range(100); // false
range.get_random(); // 23
range.normalize(25); // 0.5
range.denormalize(0.25); // 12.5
range.set(12, 24).difference; // 12
range.put(); // Recycle when done!
For more info, please check out the API: http://01010111.com/zerolib/