Max Cahill
|
afd279f1db
|
[added] tostring for vec2 and vec3 - not sure how to handle wanting more/less precision for these currently.
|
2020-04-08 21:10:03 +10:00 |
|
Max Cahill
|
6386aaf298
|
[modified] big refactor to localised modules and require("batteries"):export() for global usage; renamed files table to tablex and math to mathx to allow using the library in your module root if you really want to.
|
2020-04-07 13:49:10 +10:00 |
|
Max Cahill
|
9422152181
|
[added] math.lerp_eps and matching vec2/vec3 methods; for ensuring a lerp actually reaches its destination once the delta doesn't matter
|
2020-04-01 20:58:18 +11:00 |
|
Max Cahill
|
c7d96461cf
|
[added] intersect.point_in_poly and required plumbing
|
2020-04-01 19:28:22 +11:00 |
|
Max Cahill
|
370aee6cbc
|
[added] vec2:new supports .x .y table argument
|
2020-03-18 21:22:11 +11:00 |
|
Max Cahill
|
ad2fc71e7a
|
[fixed] non-global compatible
|
2020-03-15 21:22:22 +11:00 |
|
Max Cahill
|
66a9f41474
|
[modified] renamed to batteries, added global export suppression and more documentation
|
2020-03-15 20:28:50 +11:00 |
|
Max Cahill
|
63448b5d5e
|
[added] vec3.lua (very quick work, probably would benefit from tests)
|
2020-01-29 21:12:14 +11:00 |
|
Max Cahill
|
2f470cf7c7
|
initial commit
|
2020-01-29 14:26:28 +11:00 |
|