177 Commits

Author SHA1 Message Date
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
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
karai17
d1a2c8c94b fixed mat4.__mul 2016-07-20 00:09:17 -03:00
karai17
bff981aa70 typo 2016-07-20 00:08:34 -03:00
karai17
5bee88b943 Fixed mat4.project and mat4.unproject 2016-07-20 00:07:49 -03:00
karai17
4f9bc17bf4 Refactored mat4
Did some tidying up on quat, vec2, vec3, and utils
2016-07-19 23:55:21 -03:00
karai17
f9d31b20fb Fixed a typo 2016-07-18 06:21:43 -03:00
karai17
46f8261ea0 Refactored mat4 (in progress)
Cleaned up vec2, vec3, quat
2016-07-18 06:17:42 -03:00
karai17
6ced5f397e Removed unneeded do blocks from tests 2016-07-15 22:19:22 -03:00
karai17
add0a71c05 Added tests for vec2 and vec3 2016-07-15 22:07:48 -03:00
Colby Klein
7f7ff0077a Fix mat4 typos. 2016-04-13 21:57:39 -07:00
Colby Klein
0eb8d30271 Merge branch 'master' of https://github.com/excessive/cpml into refactor 2016-04-13 21:50:22 -07:00
Colby Klein
3f6c49ee0c Delete vec3-turbo.lua
This file is completely obsolete; use the refactor branch vec3 instead.
2016-02-17 21:11:18 -08:00
Colby Klein
b8cc7e1d22 Disable luacheck in travis script. 2016-02-17 20:23:39 -08:00
Colby Klein
a76feb15ba Update .travis.yml
Let's try out kikito's travis stuff to see if it works better.
2016-02-17 20:20:26 -08:00
Matthew Blanchard
a3ac895517 Merge pull request #14 from Bobbyjoness/patch-1
Fixed redundant requiring of ffi
2016-01-01 22:29:02 -05:00
Bobbyjoness
ffe3d4b083 Fixed redundant requiring of ffi 2016-01-01 21:58:38 -05:00
Landon Manning
1033713b33 added DBL_EPSILON 2015-12-29 05:42:25 -04:00
Landon Manning
5da09ddd8b removed ray_triangle2, it was too slow
also moved some vec3 definitions outside their respective function
bodies to speed thing sup and create less garbage
2015-12-29 04:58:53 -04:00
Landon Manning
c42a3efc07 Added conversion between polar and cartesian coordinates 2015-12-28 19:26:19 -04:00
Landon Manning
2347bd9706 Looks like we don't need quat.div after all. 2015-12-28 12:40:52 -04:00
Landon Manning
e9b00c2b71 Reduced garbage 2015-12-28 12:15:19 -04:00
Matthew Blanchard
f4163b9893 Pruned mat4. Added quat.mul_vec3. 2015-12-28 11:11:45 -05:00
Landon Manning
55685bedcc Added second ray_triangle function for performance testing
We should exercise both to see which performs better.
2015-12-28 12:02:22 -04:00
Landon Manning
437ac9135e Reimplemented quat*vec3, quat/quat, and quat/number
Fixed a few minor things in vec2 and vec3
2015-12-28 10:15:05 -04:00