Commit Graph

  • 7767802433 chased down more math vs mathx usage (and actually fixed the random_lerp usage) Max Cahill 2021-11-19 15:35:52 +1100
  • 4460a94933 mathx.random_lerp calls mathx.lerp instead of math.lerp so it works without exported globals Max Cahill 2021-11-19 15:28:54 +1100
  • 6ce0dfa523 fixed wrong inequality :) Max Cahill 2021-11-18 15:18:58 +1100
  • 774965a508 added async.wait for waiting for a certain period of time inside an async task Max Cahill 2021-11-18 15:15:48 +1100
  • 31bfe92d37 added todo for tablex.weighted_random, removed returning the weight value as multi-return wasn't documented and could break in some circumstances Max Cahill 2021-11-18 10:35:26 +1100
  • 7aa476a58c
    Merge pull request #40 from speakk/weighted_random Max Cahill 2021-11-18 10:25:48 +1100
  • 7eb6bcc576 Add a weighted random pick for tablex Jesse Viikari 2021-11-17 20:20:04 +0200
  • 63a1cf5438 Merge PR #39: add ripairs Max Cahill 2021-11-11 13:47:24 +1100
  • 8aa6107056 made tablex relative require consistent with other modules Max Cahill 2021-11-11 13:42:03 +1100
  • cf8e0ac81a add ripairs (reverse ipairs) Westerbly Snaydley 2021-11-09 23:45:01 -0500
  • 65d8f24a45
    Merge pull request #38 from radgeRayden/master Max Cahill 2021-10-26 10:06:40 +1100
  • 271d079bbb Fix intersect depending on exported mathx Westerbly Snaydley 2021-10-24 18:32:14 -0500
  • 0629e349a4 Merge remote-tracking branch 'origin/master' Max Cahill 2021-10-22 12:40:29 +1100
  • bbc34ddb5b added measure.lua benchmarking helpers - todo ones that aid inline profiling, probably just wrapping some code and measuring time/memory deltas each run Max Cahill 2021-10-22 12:40:23 +1100
  • 50053b6674
    Merge pull request #37 from Sheepolution/patch-1 Max Cahill 2021-10-21 13:13:44 +1100
  • 1d430bd6a9 added todo note about auto-pooling Max Cahill 2021-10-19 15:41:40 +1100
  • 95269b3362
    Fix parameter/argument name mismatch Sheepolution 2021-10-19 03:04:55 +0200
  • c10338fa5d Added (more helpful) error on first use rather than on require when missing bitops library for colour.pack/unpack methods Max Cahill 2021-10-19 11:48:16 +1100
  • 5b49cbdc17 Added installation note about package.loaded and LUA_PATH for init.lua Max Cahill 2021-10-19 11:35:18 +1100
  • 0eda6e8262 added functional.chain for conveniently mapping things like node paths and vector splines Max Cahill 2021-10-15 12:49:31 +1100
  • eae1849c16 fixed filter_inplace doesn't return anything, thanks sheepolution Max Cahill 2021-10-12 11:51:17 +1100
  • 0ebe5b1e9f added async.stall to canonicalise the stalling mechanism for async users Max Cahill 2021-10-08 16:17:18 +1100
  • 27b548bb25 changed tablex.rotate loop bounds to be more defensive about fractional arguments being passed Max Cahill 2021-10-08 10:19:30 +1100
  • 0a02d7a2da Merge feature/tablex.rotate Max Cahill 2021-10-08 10:17:34 +1100
  • 8a069c38d4 [tablex] Add rotate flamendless 2021-10-03 17:31:55 +0800
  • 754faecd02 fixed pingpong backwards Max Cahill 2021-09-24 11:48:25 +1000
  • 107cad43e5 added some more easing curves to mathx Max Cahill 2021-09-24 11:44:53 +1000
  • c70b463af1
    Merge pull request #31 from chrsm/chrsm/fix-generate_2d Max Cahill 2021-08-15 17:01:36 +1000
  • c740614cb9
    functional: fix generate_2d return value chrsm 2021-08-14 20:51:45 -0700
  • 36e3261534 Merge remote-tracking branch 'origin/master' Max Cahill 2021-08-14 19:10:20 +1000
  • 2b6a6d8f53 pretty format: circular reference ids only apply in their own reference tree Max Cahill 2021-08-14 19:10:12 +1000
  • 0dfb74317f
    fix another typo in make_pooled Max Cahill 2021-08-13 10:56:53 +1000
  • 7fe9234708
    Merge pull request #30 from FlamingArr/master Max Cahill 2021-08-12 15:43:42 +1000
  • 92406fa983
    Fix a typo in make_pooled FlamingArr 2021-08-12 00:53:03 +0530
  • ad8012c89b added normalize alias for americans to vec2 Max Cahill 2021-08-09 19:27:29 +1000
  • 918c9438cd Merge branch 'feature/vec2-friendly-api' Max Cahill 2021-08-09 19:07:28 +1000
  • fa742beb50 reorganised some of vec2, added some missing copying methods Max Cahill 2021-08-09 19:07:03 +1000
  • 4bb3da7603 slightly tweaked vec2 new Max Cahill 2021-07-23 14:38:14 +1000
  • a61a8a8618 added reversed-order methods for intersect (some missing) Max Cahill 2021-07-23 14:34:47 +1000
  • 1a40c1ef27 added aabb as an acronym for camelCase Max Cahill 2021-07-23 14:26:26 +1000
  • f835dd6e66 vec2 api finalisation and testing, updating intersect to new api Max Cahill 2021-07-23 14:15:30 +1000
  • 635bf506dc Merge remote-tracking branch 'origin/master' into feature/vec2-friendly-api Max Cahill 2021-07-23 11:04:23 +1000
  • cb35811b8c start of vec2 friendly api - will settle on something here before touching vec3 Max Cahill 2021-07-23 10:58:21 +1000
  • 3b739380e4 manual_gc cleanup/clarification and default arguments Max Cahill 2021-07-23 10:53:29 +1000
  • 6d0f21a7c0 readme cleanup Max Cahill 2021-07-23 10:53:16 +1000
  • 1a8769fc22
    removed debug print from :camelCase() Max Cahill 2021-07-22 09:06:12 +1000
  • 9f65e1150b modified :camelCase to capitalise class names and fully capitalise known acronyms. __name changed to __type, used for :type() calls Max Cahill 2021-07-21 19:44:31 +1000
  • 444df42569 added :camelCase() and a note about it being experimental Max Cahill 2021-07-20 17:11:01 +1000
  • 8bbe71e406 Merge remote-tracking branch 'origin/master' Max Cahill 2021-07-20 16:20:28 +1000
  • 4cea23e2e8 reworked intersect.lua - accepting that continuous collision is out of scope, reworking docs Max Cahill 2021-07-20 16:20:15 +1000
  • 26c5920efe
    Merge pull request #28 from flamendless/master Max Cahill 2021-07-19 20:34:42 +1000
  • 1d59b3623e Fixed typos flamendless 2021-07-18 09:30:22 +0800
  • 453f00d82f updated class docs about super construction Max Cahill 2021-07-16 19:39:24 +1000
  • 7813bf35a1 fixed stack overflow for 3-or-deeper hierarchies on super construction Max Cahill 2021-07-16 19:33:47 +1000
  • a339854651 fixed vec2/vec3 crashing on attempted copy construction from something that had a type field which wasn't a callable type() method (eg objects from tiled) Max Cahill 2021-07-16 19:23:59 +1000
  • 6ef19cfde0 added make_pooled, refactor pooling out of vector classes for easy reuse Max Cahill 2021-07-15 16:15:58 +1000
  • 3cc177a0c0 BREAKING class interface refactor - all classes will need a minor update, see class.lua Max Cahill 2021-07-15 16:09:08 +1000
  • e1bb76d419 Note about camelCase Max Cahill 2021-07-13 16:55:32 +1000
  • 67264fe7a7 extensive readme work Max Cahill 2021-07-13 16:52:32 +1000
  • b570583e53 move to zlib license Max Cahill 2021-07-13 16:52:26 +1000
  • 76ed4b1a02 stringx.apply_template works with $snake_case_symbols Max Cahill 2021-07-13 16:47:19 +1000
  • 292345b953 fixed bug in filter_inplace for single element collections Max Cahill 2021-07-06 14:33:41 +1000
  • 0691f2bd36 added tablex.random_index Max Cahill 2021-07-06 08:29:45 +1000
  • 20aa83f79e added stringx.contains Max Cahill 2021-07-06 08:29:30 +1000
  • 77d954e58a stringx.split delimiter optional Max Cahill 2021-07-06 08:29:13 +1000
  • 65d06d01f6 fixed pretty default config getting modified by parameters Max Cahill 2021-07-05 16:20:03 +1000
  • 67019de5b5 made pretty module default config and doc comments consistent order Max Cahill 2021-07-05 16:18:03 +1000
  • 3c5455d616 added pretty module to readme Max Cahill 2021-07-05 16:13:45 +1000
  • e726f19a5e added pretty module with pretty.print and pretty.string Max Cahill 2021-07-05 16:12:16 +1000
  • b44b92a32d refactored state machine to be clear about which variables and parameters are state tables, and which are name strings Max Cahill 2021-07-05 14:53:55 +1000
  • 1de942daa8 Use luajit table.clear properly Max Cahill 2021-06-29 14:46:40 +1000
  • a2c7800290 Note about branchless or abs-based mathx.sign Max Cahill 2021-06-29 14:44:09 +1000
  • fe135c533b More pooled storage for intersect.lua Max Cahill 2021-06-29 14:43:55 +1000
  • 009beadc68 Updated performance note on functional.lua Max Cahill 2021-06-25 13:31:33 +1000
  • af919da379 Fixed intersect.lua line functions not all working properly with un-exported batteries Max Cahill 2021-06-17 11:29:14 +1000
  • 9b95643e6e Added tablex.swap_and_pop Max Cahill 2021-06-09 19:49:04 +1000
  • 0bc9ccb17b Merge branch 'feature/minmax-vector-ops-and-aabb-collisions' Max Cahill 2021-06-08 11:53:09 +1000
  • a92a0c0351 Reworked aabb vs point and circle methods Max Cahill 2021-06-08 11:51:18 +1000
  • 99c496df24 Added maxcomp and mincomp and specified major/minor to always mask an axis - removed farthest and closest because they were under-specified as a result (and questionable utility) Max Cahill 2021-06-08 11:50:54 +1000
  • a73a44f424 Added vec2:signi and vec2:sign to get the sign of each component Max Cahill 2021-06-08 11:49:29 +1000
  • bcd94c134e Added vec2 support for multiple concurrent release to pool Max Cahill 2021-06-08 11:48:58 +1000
  • 2128a38702
    Merge pull request #24 from emdete/master Max Cahill 2021-06-08 09:56:35 +1000
  • a4e677466a fix super_call to call in the next higher class M. Dietrich 2021-06-07 16:44:39 +0200
  • b3bae9b0f2
    Merge pull request #23 from monolifed/patch-1 Max Cahill 2021-06-06 20:04:50 +1000
  • e9687d763f
    rgb to hsl monolifed 2021-06-06 09:00:43 +0300
  • 7e467b279f [added] more vec2 angle functions Max Cahill 2021-05-23 20:43:51 +1000
  • c1a4e6898a
    Merge pull request #22 from DUznanski/shuffle-fix Max Cahill 2021-05-21 09:14:01 +1000
  • 2846de2ea3
    Fix shuffle to avoid bias DUznanski 2021-05-20 12:33:52 -0700
  • 2d06ec7b9c [fixed] intersect.line_circle_overlap bug Max Cahill 2021-05-13 16:13:30 +1000
  • 6fae516630 [added] :ipairs method for sequence, for convenient inline chaining - should consider making it the __call metamethod probably Max Cahill 2021-05-13 15:03:06 +1000
  • 80c44f3436 [added] intersect.line_circle_overlap for checking boolean overlap circles vs lines Max Cahill 2021-05-13 12:24:45 +1000
  • af961ab2b8 [added] intersect.balance_from_mass which gets a normalised balance factor from two mass inputs, and treats <=0 or infinite or nil masses as static bodies Max Cahill 2021-05-11 15:46:57 +1000
  • a397d3d7f8 Merge remote-tracking branch 'origin/master' Max Cahill 2021-05-11 11:00:10 +1000
  • f343c1c0b7 [modified] optimised table.insert_sorted and made it _actually_ insert at the back of the range instead of at the first equal found position (not always the same) Max Cahill 2021-05-11 10:59:59 +1000
  • b5d3707939 Added aabb_circle_collide routine, modify aabb_point_collide Aweptimum 2021-05-10 12:29:37 -0400
  • 06ca04bde7 Added aabb_circle_overlap Aweptimum 2021-05-10 11:55:51 -0400
  • bfee65762e Added helper function for aabb_circle routines Aweptimum 2021-05-10 11:55:00 -0400
  • 9d1e563796 Added aabb_point_collide() Aweptimum 2021-05-10 11:53:40 -0400
  • bc014db183 Added min/max ops to vec2 Aweptimum 2021-05-10 11:52:08 -0400
  • 89ecd4258e Merge remote-tracking branch 'origin/master' Max Cahill 2021-05-04 21:07:35 +1000