Commit Graph

  • 6bc8193a5a Run tests on gh actions David Briscoe 2021-06-23 14:57:08 -07:00
  • 7a7e748430
    Merge pull request #61 from idbrii/automate-docs Colby Klein 2021-06-23 15:49:44 -07:00
  • 5d303a22e2 Automate ldoc generation David Briscoe 2021-06-23 14:08:39 -07:00
  • ff8ba77b7a
    Update README.md Colby Klein 2021-06-17 11:44:37 -07:00
  • 43f100a12d
    Update README.md Colby Klein 2021-06-17 11:26:25 -07:00
  • 85988fc7c6
    Merge pull request #59 from idbrii/fix-angleto mcclure 2021-06-17 11:25:16 -04:00
  • 39aee9a421 Fix angle_to to produce signed angle David Briscoe 2021-06-15 11:44:34 -07:00
  • 0d8daf0536 Fix typo breaking round() calls mcc 2020-05-21 23:39:14 -04:00
  • ae4601fc52 quat.to_euler_angles and quat.to_euler_angles_unpack mcc 2020-05-04 00:40:38 -04:00
  • ddb80f48e6 Compatibility note for 1.0 release and PR#48 test mcc 2020-05-03 13:36:26 -04:00
  • 1000f1d6e5
    Merge pull request #48 from mcclure/mat4-reverse mcclure 2020-05-03 13:13:11 -04:00
  • 4319828b4c Compatibility note for 0.10 release mcc 2020-05-03 13:08:24 -04:00
  • 3490d04ac1 Fix breaking test mcc 2020-05-03 13:00:22 -04:00
  • 61affeb669
    Merge pull request #56 from mcclure/identity-quat mcclure 2020-05-03 12:54:47 -04:00
  • 336f416f29 Manual merge PR#53 mcc 2020-05-03 12:52:17 -04:00
  • f7497b9bf7 Manual merge PR#52 mcc 2020-05-03 12:50:42 -04:00
  • 6e1cf4be56 Manual merge PR#51 mcc 2020-05-03 12:46:30 -04:00
  • 9155efb4b9
    Merge pull request #54 from mcclure/bsd-2 mcclure 2020-05-03 12:39:22 -04:00
  • d4f7cd1280
    Merge pull request #50 from mcclure/master mcclure 2020-05-03 12:37:58 -04:00
  • 5601094c04
    Merge pull request #49 from mcclure/vec4_cols mcclure 2020-05-03 12:37:22 -04:00
  • 9cd858a0ef Add tests to identity-quat patch and also take an axis not a full value for the identity fallback mcc 2020-04-25 18:32:48 -04:00
  • f27f5520b1 Fix for issue #55 (quat():to_angle_axis() returns gibberish) mcc 2020-04-25 18:06:09 -04:00
  • 86f0056397
    Merge pull request #47 from mcclure/master-test-failures mcclure 2019-11-30 17:37:03 -05:00
  • 4cb051614d Include BSD-2-clause text in LICENSE.md mcc 2019-11-30 11:41:48 -05:00
  • 185b19d766 vec2.to_vec3(z) creates a vec3 with the given z (or 0) mcc 2019-11-30 11:31:22 -05:00
  • 7452cc0c6c Simple methods for flipping a vector on exactly 1 axis mcc 2019-11-30 11:25:00 -05:00
  • e3f817bf7e extend(vec) and extend_bound(bound) for bounds mcc 2019-11-30 01:24:48 -05:00
  • 8e65db07ce :round(precision) methods for vec2, vec3, bound2, bound3 mcc 2019-11-30 00:03:55 -05:00
  • 13cc666232 Column version of to_vec4s (to_vec4s_cols) for issue #32 mcc 2019-11-29 22:24:47 -05:00
  • d51a930e4a Consistency (issue #33): mat4 multiply in wrong order mcc 2019-11-29 22:12:22 -05:00
  • 00126f19c9
    Merge pull request #46 from mcclure/vec-constructor-clone mcclure 2019-11-29 21:21:12 -05:00
  • 3e94b3abd8
    Merge pull request #45 from mcclure/bound-to-string mcclure 2019-11-29 21:20:48 -05:00
  • a86935a39b Allow ffi.metatype to fail so that "busted" unit tests work mcc 2019-11-29 21:13:30 -05:00
  • d845a479ac Fix typo in bound3 test which was breaking under LuaJIT mcc 2019-11-29 21:08:04 -05:00
  • 7667ea9a3d Fix typo in bound2 test which was breaking under LuaJIT mcc 2019-11-29 17:55:03 -05:00
  • 127935e0d8
    Merge pull request #44 from mcclure/no-dot-threshold mcclure 2019-11-29 17:18:47 -05:00
  • 7fa1785469 Fix failing tests; this involves changing 2 bad tests and 1 bad behavior: mcc 2019-11-29 17:16:20 -05:00
  • b80543c242 Make vec2(vec2(1,2)) and vec3(vec3(1,2,3)) consistent between lua and luajit mcc 2019-11-29 14:44:34 -05:00
  • 76cdaa8c6b to_string methods for bound2 and bound3 mcc 2019-11-29 11:33:21 -05:00
  • 7ac8b80f3f Remove DO_THRESHOLD check from quat.pow; this was an accidental, inappropriate copypaste from lerp(). mcc 2019-11-29 11:23:27 -05:00
  • 6c49915112
    Merge pull request #42 from s-ol/bound2-fix mcclure 2019-11-01 10:43:07 -04:00
  • 74de1154aa include bound2 and bound3 in init.lua s-ol 2019-11-01 01:01:54 +01:00
  • 781424c8cb fix bound2 contains s-ol 2019-11-01 01:00:58 +01:00
  • a1f7f7d3fc
    Fix BVH Colby Klein 2019-04-23 09:30:44 -07:00
  • 654089031d Added expiramental BVH implementation Landon Manning 2019-04-22 22:21:48 -03:00
  • e8f32d68cf fix issue #26 Colby Klein 2018-12-26 01:55:17 -08:00
  • 20a072c14c
    Merge pull request #36 from howmanysmall/patch-1 Colby Klein 2018-12-26 01:45:16 -08:00
  • 677cb31de7
    Update utils.lua howmanysmall 2018-12-25 12:36:50 -07:00
  • 130fe2aca0
    Merge pull request #30 from mcclure/aabb Colby Klein 2018-02-22 04:09:36 -08:00
  • ef46425cfe
    Merge pull request #29 from mcclure/quat-component Colby Klein 2018-02-22 04:07:06 -08:00
  • cf704d760e
    Merge pull request #31 from mcclure/quat-mult Colby Klein 2018-01-30 11:50:57 -08:00
  • 3d09c3975a
    Merge pull request #28 from mcclure/color-cleanup Colby Klein 2018-01-30 11:50:20 -08:00
  • 00a911f481 Add myself as contributor mcc 2018-01-27 00:47:05 -05:00
  • 7c18a65695 Bound2, bound3: Add tests and fix several major bugs so that those tests pass. mcc 2018-01-27 00:46:56 -05:00
  • a41af4702b Quaternions: Add tests for component-wise to_angle_axis and from_angle_axis mcc 2018-01-26 21:05:03 -05:00
  • 5637034445 Clarify handedness of quaternion multiplication mcc 2018-01-26 10:47:22 -05:00
  • c9cacf5d58 Axis-aligned bounding box classes for 2 and 3 dimensions mcc 2018-01-26 10:30:03 -05:00
  • b5beacffc7 component_min(a,b) and component_max(a,b) functions for vector classes mcc 2018-01-26 10:06:01 -05:00
  • bb4d945c94 Various cleanup on color class mcc 2018-01-26 10:00:38 -05:00
  • d4fb346f0c Quaternions: Add "unpacked" versions of to_angle_axis and from_angle_axis (passing x, y and z in and out instead of using a vec3) mcc 2018-01-26 09:33:25 -05:00
  • c9e45f679e
    Merge pull request #27 from bjornbytes/mat4-reflect Colby Klein 2018-01-06 09:08:11 -08:00
  • 2ac5321bdf mat4:reflect; bjorn 2018-01-05 22:08:11 -08:00
  • 5f9fa96e10 fix typo Colby Klein 2017-11-17 09:52:58 -08:00
  • 24bcae96e3 probably fix look_at Colby Klein 2017-11-17 09:48:22 -08:00
  • 0ff68c69fd fix lerp for vec3, update tests for broken lerp case Colby Klein 2017-05-19 09:49:07 -07:00
  • f6ad9335cc Merge pull request #23 from nmhmap/patch-1 Colby Klein 2017-05-19 09:35:01 -07:00
  • fbf017786e fixed functionality of utils.lerp() YellowTide 2017-05-19 07:01:07 -05:00
  • b53cebb8ca fix comment Colby Klein 2017-03-29 07:46:55 -07:00
  • 65e3676af5 swap lerp arg order, fix tests Colby Klein 2017-03-29 07:42:40 -07:00
  • c7622dd91b add intersect.ray_capsule Colby Klein 2017-03-29 07:24:38 -07:00
  • 0b0bea16ef add some lerp/decay tests Colby Klein 2017-03-29 05:32:31 -07:00
  • b122e4d726 fix typo Colby Klein 2017-03-29 05:32:16 -07:00
  • e8228f8c8a fix lerp for types like vec3 by changing order, add decay Colby Klein 2017-03-29 05:32:04 -07:00
  • 3a18ed0f8c temporarily revert mat4.lua due to bugs Colby Klein 2016-12-22 11:17:58 -08:00
  • 9776dbbf39 update quat test to reflect that pow() needs unit quats Colby Klein 2016-12-16 00:46:43 -08:00
  • d9108a198a Make pow work with non-integer exponents. Pedro Gimeno Fortea 2016-12-16 03:16:18 +01:00
  • 8b4229a681 remove unused atom build Colby Klein 2016-12-15 18:06:30 -08:00
  • 736ef2fcf8 fix doc comment for mat4.look_at Colby Klein 2016-12-15 16:44:09 -08:00
  • 55a6d666b4 Merge pull request #19 from excessive/unrefactor Colby Klein 2016-12-15 16:24:10 -08:00
  • 6b75545968 bump version karai17 2016-12-15 20:18:03 -04:00
  • 08b23e394b Updated tests, fixed couple bugs karai17 2016-12-15 19:57:31 -04:00
  • a7f9247838 Unfactored the rest of cpml. Completely untested (all tests are broken) karai17 2016-12-15 04:34:46 -04:00
  • e3cafd6c2f tidied up color karai17 2016-12-14 20:45:11 -04:00
  • b3be2a154a unfactor quat karai17 2016-12-14 20:22:22 -04:00
  • 8df45859e4 unfactor vec2 and vec3 karai17 2016-12-14 03:44:34 -04:00
  • 7e46afa280 make quat.from_direction's up argument optional (defaults to +z) Colby Klein 2016-12-13 15:12:17 -08:00
  • 6ec87c3cc5 add capsule intersection Colby Klein 2016-12-13 15:10:46 -08:00
  • 5fffa2f9d8 don't give NaN's when normalizing 0 Colby Klein 2016-12-13 15:10:09 -08:00
  • ff7cc186e7 add mat4 * vec3 (implicit w=1) Colby Klein 2016-12-13 15:09:38 -08:00
  • e5437e1899 Update README.md Colby Klein 2016-09-16 02:21:37 -07:00
  • 6b5e4ce004 Add rockspec courtesy of @Alloyed. Fixes #18 Colby Klein 2016-09-16 02:09:45 -07:00
  • d19a5addcb Fix failing tests caused by mul->scale Colby Klein 2016-08-21 20:42:44 -07:00
  • 69f30173b8 Fixed quat.lerp karai17 2016-08-14 15:39:24 -03:00
  • 799e1607bc Updated to work outside of a sanitized environment. karai17 2016-08-14 03:36:36 -03:00
  • 20f9625ae2 Fixed vec2 and vec3 mul/div/scale karai17 2016-08-14 01:29:24 -03:00
  • a5d4413cd4 Merge with master. Colby Klein 2016-08-13 09:58:50 -07:00
  • ad39870082 Bump version to 0.9.0 Colby Klein 2016-08-13 09:40:44 -07:00
  • 56fd295874 Make simplex return a function instead of a whole module. Colby Klein 2016-08-13 09:37:08 -07:00
  • 32cf0e8608 Remove FFI from color. It's broken. Colby Klein 2016-08-13 09:36:25 -07:00
  • 5892600bc6 Remove quadtree module, it needs to be rebuilt. Colby Klein 2016-08-13 09:36:02 -07:00