FatalErr42O
|
b3f67a74e6
|
finish documentation error removal
|
2024-12-27 18:42:54 -08:00 |
|
FatalErr42O
|
642739f44b
|
documentation updates, readme update
|
2024-12-21 18:48:58 -08:00 |
|
FatalErr42O
|
9273dfe583
|
removed individual documentation in favor of a master site
|
2024-12-20 23:02:08 -08:00 |
|
FatalErr42O
|
4f3bb3ea5e
|
now runs (with some require hax)
|
2023-08-29 16:01:42 -07:00 |
|
Colby Klein
|
919900fea2
|
add utils.sign
|
2022-04-21 11:53:00 -07:00 |
|
David Briscoe
|
29954aa60e
|
vec: Add nan checking functions
Add:
* vec2.has_nan + test
* vec3.has_nan + test
* quat.has_nan
* mat4.has_nan
* utils.is_nan + test
|
2022-03-26 23:33:13 -07:00 |
|
mcc
|
8e65db07ce
|
:round(precision) methods for vec2, vec3, bound2, bound3
Uses utils.lua, which requires moving utils.round to a new _private_utils.lua
|
2019-11-30 00:03:55 -05:00 |
|
howmanysmall
|
677cb31de7
|
Update utils.lua
removed `math.sqrt` in favor of `^ 0.5`
|
2018-12-25 12:36:50 -07:00 |
|
Colby Klein
|
0ff68c69fd
|
fix lerp for vec3, update tests for broken lerp case
|
2017-05-19 09:49:07 -07:00 |
|
YellowTide
|
fbf017786e
|
fixed functionality of utils.lerp()
((a - b) + b)*t = a*t
switched to
(1-t)*b + a*t
visualization of change:
https://www.desmos.com/calculator/91ge9obdoi
|
2017-05-19 07:01:07 -05:00 |
|
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 |
|