21 Commits

Author SHA1 Message Date
Colby Klein
b53cebb8ca fix comment 2017-03-29 07:46:55 -07:00
Colby Klein
65e3676af5 swap lerp arg order, fix tests 2017-03-29 07:42:40 -07:00
Colby Klein
e8228f8c8a fix lerp for types like vec3 by changing order, add decay 2017-03-29 05:32:04 -07:00
karai17
a7f9247838 Unfactored the rest of cpml. Completely untested (all tests are broken) 2016-12-15 04:34:46 -04:00
karai17
799e1607bc Updated to work outside of a sanitized environment. 2016-08-14 03:36:36 -03:00
karai17
fbf329264d Blood. Sweat. Tears. Mostly blood. And sweat. And tears. 2016-07-23 03:23:06 -03:00
karai17
2950352ac8 Updated color module, etc. 2016-07-20 22:17:25 -03:00
karai17
4f9bc17bf4 Refactored mat4
Did some tidying up on quat, vec2, vec3, and utils
2016-07-19 23:55:21 -03:00
karai17
add0a71c05 Added tests for vec2 and vec3 2016-07-15 22:07:48 -03:00
Matthew Blanchard
5a9aabadb5 Revert "Added simple object and shape constructors"
This reverts commit 10f472771b00b79a479ab54c879f10d234197166.
2015-12-20 22:40:33 -05:00
Landon Manning
10f472771b Added simple object and shape constructors
ray, aabb, obb, plane, sphere, line, triangle
2015-12-20 22:35:06 -04:00
Colby Klein
78989682cf Add LDoc documentation. Utils done. 2015-09-11 07:59:05 -07:00
airstruck
a4d611c227 fix tabs 2015-09-08 05:05:39 -04:00
airstruck
b50194bebc support negative values passed to frexp 2015-09-08 05:01:11 -04:00
Colby Klein
5081314be6 Missed a line. 2015-09-08 01:35:38 -07:00
Colby Klein
7257d1b343 Use our own frexp if it's not available (Lua 5.3+) 2015-09-08 01:33:19 -07:00
Colby Klein
e6b9c84a6c Add utils.deadzone and threshold + tests 2015-08-15 01:19:44 -07:00
Colby Klein
6f050bd1c8 Add utils.smoothstep (smooth hermite interpolation) 2015-08-10 18:59:43 -07:00
Colby Klein
b6c8164935 Add precision argument to utils.round 2015-04-25 06:29:20 -07:00
Colby Klein
a5eaebd622 Add utils.is_pot(n) to check for power-of-two. 2015-04-01 01:29:45 -07:00
Colby Klein
5a1074466b Add color and utils modules.
A pile of color functions needed for DOMinatrix.
2015-03-16 08:24:11 -07:00