17 Commits

Author SHA1 Message Date
Colby Klein
f60a7a144c remove vec3.tuple (dupe of unpack) 2015-04-25 05:50:22 -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
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