206 Commits

Author SHA1 Message Date
karai17
b3be2a154a unfactor quat 2016-12-14 20:22:22 -04:00
karai17
8df45859e4 unfactor vec2 and vec3 2016-12-14 03:44:34 -04:00
Colby Klein
7e46afa280 make quat.from_direction's up argument optional (defaults to +z) 2016-12-13 15:12:17 -08:00
Colby Klein
6ec87c3cc5 add capsule intersection 2016-12-13 15:10:46 -08:00
Colby Klein
5fffa2f9d8 don't give NaN's when normalizing 0 2016-12-13 15:10:09 -08:00
Colby Klein
ff7cc186e7 add mat4 * vec3 (implicit w=1) 2016-12-13 15:09:38 -08:00
Colby Klein
e5437e1899 Update README.md 2016-09-16 02:21:37 -07:00
Colby Klein
6b5e4ce004 Add rockspec courtesy of @Alloyed. Fixes #18 2016-09-16 02:09:45 -07:00
Colby Klein
d19a5addcb Fix failing tests caused by mul->scale 2016-08-21 20:42:44 -07:00
karai17
69f30173b8 Fixed quat.lerp 2016-08-14 15:39:24 -03:00
karai17
799e1607bc Updated to work outside of a sanitized environment. 2016-08-14 03:36:36 -03:00
karai17
20f9625ae2 Fixed vec2 and vec3 mul/div/scale 2016-08-14 01:29:24 -03:00
Colby Klein
a5d4413cd4 Merge with master. 2016-08-13 09:58:50 -07:00
Colby Klein
ad39870082 Bump version to 0.9.0 2016-08-13 09:40:44 -07:00
Colby Klein
56fd295874 Make simplex return a function instead of a whole module. 2016-08-13 09:37:08 -07:00
Colby Klein
32cf0e8608 Remove FFI from color. It's broken. 2016-08-13 09:36:25 -07:00
Colby Klein
5892600bc6 Remove quadtree module, it needs to be rebuilt. 2016-08-13 09:36:02 -07:00
karai17
02f963d932 Fixed typo, added comments 2016-08-03 17:43:46 -03:00
karai17
640d46de43 Added sphere_triangle collision. Probably. 2016-08-03 17:23:36 -03:00
karai17
832648af33 Colby sucks 2016-07-26 23:16:30 -03:00
karai17
e25f4acef9 Fixed broken tests 2016-07-26 22:31:08 -03:00
karai17
b0e9714a0e added aabb_obb test 2016-07-26 01:21:49 -03:00
karai17
637bc5a413 Added many intersection tests 2016-07-26 00:44:15 -03:00
karai17
52814eed9f Added a few more specs, no new tests though 2016-07-25 02:07:24 -03:00
karai17
dc31605db6 Fixed mat4.look_at 2016-07-24 23:42:44 -03:00
karai17
ebae3a1fce Updated mat4 LDocs 2016-07-24 22:16:04 -03:00
karai17
52eb8af61d More LDoc tidying 2016-07-24 20:57:59 -03:00
karai17
871b86b4ab Updated LDoc data for vec2 and vec3 2016-07-24 20:26:56 -03:00
karai17
6daa845533 No unnecessary lines! 2016-07-24 11:48:58 -03:00
karai17
3c3eebd66f Minor tweak 2016-07-24 11:39:36 -03:00
karai17
96a63ce581 Added a few more mat4 tests 2016-07-24 11:35:48 -03:00
karai17
ce80e2c90a Added test for quat.to_string 2016-07-24 10:53:57 -03:00
karai17
f038ce2dc7 Increased test coverage of vec2, vec3, quat 2016-07-24 10:49:35 -03:00
karai17
c4fabe7f19 Made the tests less bad 2016-07-24 10:04:29 -03:00
karai17
8386474db0 Added coveralls intigration 2016-07-24 05:27:55 -03:00
karai17
2cb5d0970d Added to_frustum test 2016-07-24 04:43:06 -03:00
karai17
375f748c1f FFI'd color 2016-07-23 23:16:10 -03:00
karai17
864ac736de Reimplemented mat4 ffi (thanks @EntranceJew!)
Resolves issue #17
2016-07-23 22:46:09 -03:00
karai17
481825cba4 What ARE birds?
We just don't know.
2016-07-23 05:21:03 -03:00
karai17
fbf329264d Blood. Sweat. Tears. Mostly blood. And sweat. And tears. 2016-07-23 03:23:06 -03:00
karai17
d34cca315f Removed ffi from mat4, it caused a lot of problems and didn't work. 2016-07-22 17:13:11 -03:00
karai17
5f7a7f29fa Added quaternion tests
* Fixed an issue with is_quat, is_vec3, is_vec2, and is_mat4 methods
* Fixed a minor issue with local variables being declared too late
2016-07-21 20:04:32 -03:00
karai17
78b34590c5 vec2 and vec3 100% test coverage 2016-07-21 13:52:35 -03:00
Davis
094832b90e Added working link to referenced article 2016-07-20 21:44:53 -04:00
karai17
1f73de007f Octree should now work with the new API. 2016-07-20 22:36:18 -03:00
karai17
2950352ac8 Updated color module, etc. 2016-07-20 22:17:25 -03:00
Davis
86448fcfee Added working link to referenced article 2016-07-20 20:52:31 -04:00
karai17
a57673dcaf Added frustum and other intersect functions 2016-07-20 20:49:28 -03:00
karai17
f83b60e1e5 Fixed transforms multiplying in the wrong order 2016-07-20 18:36:04 -03:00
karai17
2aa0e7fcb6 Cleaned up internal code to be less verbose 2016-07-20 18:24:54 -03:00