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 |
|
Davis Claiborne
|
acd5c108db
|
Updated init.lua
|
2015-12-27 20:46:51 -05:00 |
|
Davis Claiborne
|
993ac08918
|
Removed module point
|
2015-12-27 20:45:25 -05:00 |
|
Matthew Blanchard
|
8c9214764e
|
Fixed a small bug in vec2.
|
2015-12-25 22:19:53 -05:00 |
|
Matthew Blanchard
|
85655e65af
|
Refactored quat and added doc comments. Fixed some small typos and doc comments in vec2.
|
2015-12-25 20:06:31 -05:00 |
|
Matthew Blanchard
|
c60a324010
|
Fixed some small holdovers from vec3 remaining in vec2.
|
2015-12-25 18:44:03 -05:00 |
|
Matthew Blanchard
|
c5d02e0683
|
Updated vec3 doc comments. Brought vec2 in line with vec3. Doc commented vec2.
|
2015-12-25 18:35:03 -05:00 |
|
Matthew Blanchard
|
4302b2b5dc
|
Added unit vectors.
|
2015-12-24 16:49:21 -05:00 |
|
Matthew Blanchard
|
2b35d4ae57
|
Removed defaults. Added trim. Reworked __call so it works correctly. Made all functions return out.
|
2015-12-24 16:46:58 -05:00 |
|
Matthew Blanchard
|
6116576ad0
|
Fixed a small typo in vec3
|
2015-12-23 04:50:53 -05:00 |
|
Matthew Blanchard
|
94ef22b643
|
Fixed issues with ffi and cloning.
Fixed the ffi check to now work correctly and moved the ffi local up a
scope so that it could be used later in the file. Made clone simply call
new().
|
2015-12-23 03:19:09 -05:00 |
|
Matthew Blanchard
|
bb78a486b0
|
Fixed merge conflicts. Refactored reflect and refract.
|
2015-12-22 18:05:39 -05:00 |
|
Matthew Blanchard
|
57704e9dba
|
Added standard Lua fallback and documentation.
|
2015-12-22 17:55:59 -05:00 |
|
Landon Manning
|
71af8f5498
|
Rewrote quaternion module
Untested, but I hope it works!
|
2015-12-22 05:27:22 -04:00 |
|
Colby Klein
|
b9e004dc1a
|
Add vec3.reflect and vec3.refract
|
2015-12-20 22:55:38 -08:00 |
|
Colby Klein
|
82f336a7f4
|
Fix broken vec2/vec3 clone.
|
2015-12-20 22:38:36 -08:00 |
|
Matthew Blanchard
|
5a9aabadb5
|
Revert "Added simple object and shape constructors"
This reverts commit 10f472771b00b79a479ab54c879f10d234197166.
|
2015-12-20 22:40:33 -05:00 |
|