-
c4a33434b2
Add cpml.quat.from_direction
Colby Klein
2015-11-20 17:03:23 -08:00
-
e5d0dc799c
Add filter function to octree.draw_objects for debugging.
Colby Klein
2015-11-20 01:50:48 -08:00
-
-
0481a97195
Added ray casting to octree
Landon Manning
2015-11-19 14:14:55 -04:00
-
b51c6fc1be
Added license info
Landon Manning
2015-09-25 03:08:15 -03:00
-
ab1d551b25
Added new octree implementation
Landon Manning
2015-09-25 02:54:38 -03:00
-
2370daf5f3
Encapsulate should be explicit
Landon Manning
2015-09-24 01:30:32 -03:00
-
50edbb1b82
Added some intersects
Landon Manning
2015-09-24 01:05:20 -03:00
-
4a4ad08a35
Add vec2.lerp, tests, and fix some minor bugs.
Colby Klein
2015-09-15 07:05:22 -07:00
-
951aea865f
Proper fix for the quat.to_axis_angle bug.
Colby Klein
2015-09-14 13:33:44 -07:00
-
18dd29d1b5
Work around math.acos(-1) returning NaN on LuaJIT... sometimes.
Colby Klein
2015-09-14 13:26:05 -07:00
-
6a5771348c
Minor doc/test updates for vec3
Colby Klein
2015-09-13 05:51:13 -07:00
-
fb1778e45c
Update vec3 docs
Colby Klein
2015-09-11 13:34:15 -07:00
-
cedf0209fc
Link docs in README.md
Colby Klein
2015-09-11 11:28:08 -07:00
-
78989682cf
Add LDoc documentation. Utils done.
Colby Klein
2015-09-11 07:59:05 -07:00
-
edbf08005d
Update vec3 division tests
Colby Klein
2015-09-10 20:27:20 -07:00
-
449bf861d4
Added ability to divide a number over a vector.
Landon Manning
2015-09-09 23:14:33 -03:00
-
2ffad16f80
Merge pull request #7 from airstruck/patch-1
Landon Manning
2015-09-08 08:03:09 -03:00
-
-
a4d611c227
fix tabs
airstruck
2015-09-08 05:05:39 -04:00
-
b50194bebc
support negative values passed to frexp
airstruck
2015-09-08 05:01:11 -04:00
-
-
5081314be6
Missed a line.
Colby Klein
2015-09-08 01:35:38 -07:00
-
7257d1b343
Use our own frexp if it's not available (Lua 5.3+)
Colby Klein
2015-09-08 01:33:19 -07:00
-
dff84e229e
Merge pull request #6 from airstruck/master
Landon Manning
2015-09-02 19:47:26 -03:00
-
-
ff33633b56
fix leaked globals
airstruck
2015-09-02 18:43:12 -04:00
-
-
9458738e11
Switch vec2*vec2 to per-component, add vec2.dot
Colby Klein
2015-09-01 15:06:31 -07:00
-
038ec0d06e
Update README.md
Colby Klein
2015-08-25 11:14:27 -07:00
-
d198d7f97f
Backout some FFI code - didn't work.
Colby Klein
2015-08-25 11:10:18 -07:00
-
cb41f1c4a7
Don't explode if the module has been hot reloaded.
Colby Klein
2015-08-19 14:30:48 -07:00
-
e6b9c84a6c
Add utils.deadzone and threshold + tests
Colby Klein
2015-08-15 01:19:32 -07:00
-
e7db18aa3f
Update .travis.yml
Colby Klein
2015-08-15 01:08:28 -07:00
-
54daab8ce2
Fix vec3 test failures, add unit vectors.
Colby Klein
2015-08-15 01:06:32 -07:00
-
6f050bd1c8
Add utils.smoothstep (smooth hermite interpolation)
Colby Klein
2015-08-10 18:59:43 -07:00
-
871c9246d0
Back vec2 and vec3 with FFI types if possible.
Colby Klein
2015-08-10 18:56:48 -07:00
-
9bc4d164dc
Fix ray_aabb typos.
Colby Klein
2015-08-10 17:59:32 -07:00
-
d1dc50761f
Fix mat4.look_at offset
Colby Klein
2015-08-10 17:59:18 -07:00
-
61e4c33852
Add mat4.hmd_perspective
Colby Klein
2015-07-25 22:47:15 -07:00
-
88e8ebc3de
Add quaternion.unpack. Now vec2/3/quat all have it.
Colby Klein
2015-07-25 19:31:14 -07:00
-
59e844dd34
Remove vec3.tuple (again?). It's a dupe of unpack
Colby Klein
2015-07-25 19:29:11 -07:00
-
01f7aeeff9
Fix mat4.perspective
Colby Klein
2015-07-25 19:27:07 -07:00
-
1a90004e0d
Add (VERY) experimental vec3-turbo, test stubs.
Colby Klein
2015-07-25 07:21:16 -07:00
-
2869d51035
Fix vec2/vec3.angle_to
Colby Klein
2015-07-25 07:19:53 -07:00
-
c102ded4ba
Add operators and lerp to cpml.color
Colby Klein
2015-07-25 07:17:50 -07:00
-
6315124c6e
Added intersections
Landon Manning
2015-07-10 22:36:17 -03:00
-
e6fdd92553
Add vec3.tuple, remove some dead code
Colby Klein
2015-07-10 12:33:31 -07:00
-
7cdca018aa
Add quat.cross, fix quat.rotate, cleanup.
Colby Klein
2015-07-10 12:25:39 -07:00
-
6a0e56d799
Add some TODOs
Colby Klein
2015-05-06 21:11:42 -07:00
-
86ce2b62a4
Fix CRLF
Colby Klein
2015-05-05 02:43:26 -07:00
-
bc469dfee9
Add ray-plane and ray-box intersections
Colby Klein
2015-05-05 02:04:51 -07:00
-
f12e076782
Add conversions, fix unproject, perspective, m*v, look_at
Colby Klein
2015-05-05 02:04:34 -07:00
-
2b3f8bc31b
Add quat:clone()
Colby Klein
2015-05-05 02:03:02 -07:00
-
58b3b30b4b
Cleaner tostring output for vec3
Colby Klein
2015-05-05 01:59:41 -07:00
-
d004860628
Add more vec3 tests.
Colby Klein
2015-04-25 16:19:03 -07:00
-
b6c8164935
Add precision argument to utils.round
Colby Klein
2015-04-25 06:29:20 -07:00
-
34554aea5a
Add atom build and editorconfig files.
Colby Klein
2015-04-25 05:50:59 -07:00
-
f60a7a144c
remove vec3.tuple (dupe of unpack)
Colby Klein
2015-04-25 05:50:22 -07:00
-
4cecab73c2
Add initial vec3 and utils specs
Colby Klein
2015-04-25 05:49:36 -07:00
-
a1cc9f95f4
Add travis status to README.md.
Colby Klein
2015-04-25 03:57:21 -07:00
-
32811b7a0a
Add .travis.yml for the busted specs I need to make
Colby Klein
2015-04-25 03:56:36 -07:00
-
3b53764662
I thought I updated this...
Landon Manning
2015-04-18 06:01:24 -03:00
-
f2e426015e
Add Quadtree and Octree modules.
Colby Klein
2015-04-11 19:53:12 -07:00
-
a5eaebd622
Add utils.is_pot(n) to check for power-of-two.
Colby Klein
2015-04-01 01:29:45 -07:00
-
cb4ba40bad
Add gamma correction to color module (for hate)
Colby Klein
2015-03-22 16:54:56 -07:00
-
5a1074466b
Add color and utils modules.
Colby Klein
2015-03-16 08:24:11 -07:00
-
a1723f5028
More consistency!
Landon Manning
2015-01-16 04:14:40 -05:00
-
00c01a985a
Fixed consistancy
Landon Manning
2015-01-16 03:54:41 -05:00
-
503572336d
vec2.normalized -> vec2.normalize
Colby Klein
2015-01-13 03:23:37 -08:00
-
febf35bcc1
It might help to actually include the file...
Landon Manning
2014-12-22 04:17:47 -05:00
-
f5e93a3ea5
Snagged vec2 from @vrld's HUMP library
Landon Manning
2014-12-21 00:51:14 -05:00
-
d2d3c6c12f
Fixed some stuff
Landon Manning
2014-12-08 05:42:21 -04:00
-
c2d8e814a7
Added linear interpolation to quaternion module
Landon Manning
2014-12-07 01:08:15 -04:00
-
a44fe12454
Added circle-circle intersection
Landon Manning
2014-12-01 02:33:51 -04:00
-
2b41e8debb
Fix quaternion (THIS IS WHY WE NEED TESTS). Also gave vec3 a table constructor.
Colby Klein
2014-11-11 03:46:25 -08:00
-
38dda4a265
Fix mat4.(un)project, rename persp to perspective.
Colby Klein
2014-10-30 13:45:16 -07:00
-
e6c1669be4
mat4 now takes vec3s where expected
Landon Manning
2014-10-27 20:58:10 -03:00
-
bf316517df
Minor refactoring
Landon Manning
2014-10-27 20:43:45 -03:00
-
e9935b18a5
Fix orientation_to_direction, mult look_at on self
Colby Klein
2014-10-27 09:53:57 -07:00
-
9b8322fab6
Updated Simplex
Landon Manning
2014-10-26 21:52:39 -03:00
-
651f99e7cf
Convert orientation vector to a direction
Landon Manning
2014-10-26 21:45:44 -03:00
-
8056d12223
No PHP for you!
Landon Manning
2014-10-26 20:59:13 -03:00
-
520bc91f2a
Fixed a few dot products
Landon Manning
2014-10-26 18:14:12 -03:00
-
cc2f38d969
Fix vec3.rotated
Colby Klein
2014-10-26 14:02:53 -07:00
-
be70f17440
Fix typo in permul, switch permul and dot.
Colby Klein
2014-10-26 13:29:17 -07:00
-
4ef64e3e3a
Update LICENSE.md
Colby Klein
2014-10-25 16:10:20 -07:00
-
25638f542f
init.lua cleanup.
Colby Klein
2014-10-25 16:07:53 -07:00
-
f6fc22aa5d
Update LICENSE.md
Colby Klein
2014-10-25 15:08:42 -07:00
-
cbcd21b580
Fix mat4 and intersect.
Colby Klein
2014-10-25 13:49:06 -07:00
-
7095754451
Initial commit of the actual code.
Colby Klein
2014-10-25 12:54:16 -07:00
-
4ef88e7b3e
Update and rename LICENSE to LICENSE.md
Colby Klein
2014-10-25 10:39:52 -07:00
-
597339e4cf
Update README.md
Colby Klein
2014-10-25 10:39:23 -07:00
-
c2d55450f8
Initial commit
Colby Klein
2014-10-25 10:37:06 -07:00