Colby Klein
|
59e844dd34
|
Remove vec3.tuple (again?). It's a dupe of unpack
|
2015-07-25 19:29:11 -07:00 |
|
Colby Klein
|
01f7aeeff9
|
Fix mat4.perspective
|
2015-07-25 19:27:07 -07:00 |
|
Colby Klein
|
1a90004e0d
|
Add (VERY) experimental vec3-turbo, test stubs.
|
2015-07-25 07:21:16 -07:00 |
|
Colby Klein
|
2869d51035
|
Fix vec2/vec3.angle_to
I'm not sure of this is technically more correct, actually, but after
this fix I get the expected results.
|
2015-07-25 07:19:53 -07:00 |
|
Colby Klein
|
c102ded4ba
|
Add operators and lerp to cpml.color
|
2015-07-25 07:17:50 -07:00 |
|
Landon Manning
|
6315124c6e
|
Added intersections
* intersect.segment_segment(p1, p2, p3, p4)
* intersect.point_AABB(point, box)
|
2015-07-10 22:36:17 -03:00 |
|
Colby Klein
|
e6fdd92553
|
Add vec3.tuple, remove some dead code
|
2015-07-10 12:33:31 -07:00 |
|
Colby Klein
|
7cdca018aa
|
Add quat.cross, fix quat.rotate, cleanup.
|
2015-07-10 12:25:39 -07:00 |
|
Colby Klein
|
6a0e56d799
|
Add some TODOs
|
2015-05-06 21:11:42 -07:00 |
|
Colby Klein
|
86ce2b62a4
|
Fix CRLF
|
2015-05-05 02:43:26 -07:00 |
|
Colby Klein
|
bc469dfee9
|
Add ray-plane and ray-box intersections
|
2015-05-05 02:04:51 -07:00 |
|
Colby Klein
|
f12e076782
|
Add conversions, fix unproject, perspective, m*v, look_at
|
2015-05-05 02:04:34 -07:00 |
|
Colby Klein
|
2b3f8bc31b
|
Add quat:clone()
|
2015-05-05 02:03:02 -07:00 |
|
Colby Klein
|
58b3b30b4b
|
Cleaner tostring output for vec3
|
2015-05-05 01:59:41 -07:00 |
|
Colby Klein
|
d004860628
|
Add more vec3 tests.
|
2015-04-25 16:19:03 -07:00 |
|
Colby Klein
|
b6c8164935
|
Add precision argument to utils.round
|
2015-04-25 06:29:20 -07:00 |
|
Colby Klein
|
34554aea5a
|
Add atom build and editorconfig files.
|
2015-04-25 05:50:59 -07:00 |
|
Colby Klein
|
f60a7a144c
|
remove vec3.tuple (dupe of unpack)
|
2015-04-25 05:50:22 -07:00 |
|
Colby Klein
|
4cecab73c2
|
Add initial vec3 and utils specs
|
2015-04-25 05:49:36 -07:00 |
|
Colby Klein
|
a1cc9f95f4
|
Add travis status to README.md.
|
2015-04-25 03:57:21 -07:00 |
|
Colby Klein
|
32811b7a0a
|
Add .travis.yml for the busted specs I need to make
|
2015-04-25 03:56:36 -07:00 |
|
Landon Manning
|
3b53764662
|
I thought I updated this...
|
2015-04-18 06:01:24 -03:00 |
|
Colby Klein
|
f2e426015e
|
Add Quadtree and Octree modules.
|
2015-04-11 19:53:12 -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
|
cb4ba40bad
|
Add gamma correction to color module (for hate)
|
2015-03-22 16:54:56 -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 |
|
Landon Manning
|
a1723f5028
|
More consistency!
|
2015-01-16 04:14:40 -05:00 |
|
Landon Manning
|
00c01a985a
|
Fixed consistancy
|
2015-01-16 03:54:41 -05:00 |
|
Colby Klein
|
503572336d
|
vec2.normalized -> vec2.normalize
|
2015-01-13 03:23:37 -08:00 |
|
Landon Manning
|
febf35bcc1
|
It might help to actually include the file...
|
2014-12-22 04:17:47 -05:00 |
|
Landon Manning
|
f5e93a3ea5
|
Snagged vec2 from @vrld's HUMP library
This was the original basis of vec3, so why not add it in, too?
|
2014-12-21 00:51:14 -05:00 |
|
Landon Manning
|
d2d3c6c12f
|
Fixed some stuff
|
2014-12-08 05:42:21 -04:00 |
|
Landon Manning
|
c2d8e814a7
|
Added linear interpolation to quaternion module
* lerp
* nlerp
* slerp
|
2014-12-07 01:08:15 -04:00 |
|
Landon Manning
|
a44fe12454
|
Added circle-circle intersection
|
2014-12-01 02:34:08 -04:00 |
|
Colby Klein
|
2b41e8debb
|
Fix quaternion (THIS IS WHY WE NEED TESTS). Also gave vec3 a table constructor.
|
2014-11-11 03:46:25 -08:00 |
|
Colby Klein
|
38dda4a265
|
Fix mat4.(un)project, rename persp to perspective.
Fixes #4
|
2014-10-30 13:45:16 -07:00 |
|
Landon Manning
|
e6c1669be4
|
mat4 now takes vec3s where expected
Fixes issue #1
|
2014-10-27 20:58:10 -03:00 |
|
Landon Manning
|
bf316517df
|
Minor refactoring
* Renamed subfolder to modules
* Quaternions no longer rely on hump.class
* Added Mesh functions
|
2014-10-27 20:43:45 -03:00 |
|
Colby Klein
|
e9935b18a5
|
Fix orientation_to_direction, mult look_at on self
|
2014-10-27 09:53:57 -07:00 |
|
Landon Manning
|
9b8322fab6
|
Updated Simplex
Fixes issue #5
|
2014-10-26 21:52:39 -03:00 |
|
Landon Manning
|
651f99e7cf
|
Convert orientation vector to a direction
|
2014-10-26 21:45:44 -03:00 |
|
Landon Manning
|
8056d12223
|
No PHP for you!
|
2014-10-26 20:59:13 -03:00 |
|
Landon Manning
|
520bc91f2a
|
Fixed a few dot products
|
2014-10-26 18:14:12 -03:00 |
|
Colby Klein
|
cc2f38d969
|
Fix vec3.rotated
Forgot this was using dot products!
|
2014-10-26 14:02:53 -07:00 |
|
Colby Klein
|
be70f17440
|
Fix typo in permul, switch permul and dot.
It makes more sense this way.
|
2014-10-26 13:29:17 -07:00 |
|
Colby Klein
|
4ef64e3e3a
|
Update LICENSE.md
Forgot to mention vrld in the license file.
|
2014-10-25 16:10:20 -07:00 |
|
Colby Klein
|
25638f542f
|
init.lua cleanup.
|
2014-10-25 16:07:59 -07:00 |
|
Colby Klein
|
f6fc22aa5d
|
Update LICENSE.md
Fixed spacing (thanks Markdown)
|
2014-10-25 15:08:42 -07:00 |
|
Colby Klein
|
cbcd21b580
|
Fix mat4 and intersect.
|
2014-10-25 13:49:06 -07:00 |
|
Colby Klein
|
7095754451
|
Initial commit of the actual code.
|
2014-10-25 12:54:16 -07:00 |
|