Commit Graph

439 Commits

Author SHA1 Message Date
Max Cahill
4a5b2aaa90 Merge remote-tracking branch 'origin/master' 2024-11-01 11:27:35 +11:00
Max Cahill
207b4ddf4d slightly refactored make_pooled 2024-11-01 11:27:27 +11:00
Max Cahill
aa5273fcc7 inlined euler rotation for speed 2024-10-25 14:54:45 +11:00
Max Cahill
137ef43787 allowed more max steps for manual_gc again 2024-10-25 14:54:29 +11:00
Max Cahill
708e11df0b early-out non-rotations for vec3:rotatei (common for manual euler transforms) 2024-10-18 15:26:54 +11:00
Max Cahill
c573c79d32 added manual gc early-outs if a collection finishes 2024-10-11 23:30:20 +11:00
Max Cahill
310af508bd remove a pointless comparison 2024-10-03 17:12:41 +10:00
Max Cahill
ea5e6aecc5 dropped the maximum steps for manual gc 2024-09-30 14:35:55 +10:00
Max Cahill
bde95f208f added functional.map_pairs 2024-09-20 15:38:52 +10:00
Max Cahill
8b7769319e Merge remote-tracking branch 'origin/master' 2024-09-18 14:59:08 +10:00
Max Cahill
0b8eeb1948 fixed iteration bug in stringx.split with long delimiters 2024-09-18 14:59:01 +10:00
Max Cahill
9b8ecf0e0d modified pubsub:subscribe_once to return the wrapper function created so it's possible to unsub if needed 2024-08-23 22:42:51 +10:00
Max Cahill
e10a6bf498 fixed typo meaning z could fallback incorrectly in vec3:sset
fixes #73
2024-07-15 12:13:10 +10:00
Max Cahill
d31d7425aa added vec2.nearer (note: can be called as v:nearer(a, b)) 2024-05-08 15:09:59 +10:00
Max Cahill
3667975636 adjusted manual_gc docs 2024-04-29 16:18:16 +10:00
Max Cahill
db5351e898 fixed typo in class auto-generation and included call site in auto-generated class name (id often useless) 2024-04-26 14:14:36 +10:00
Max Cahill
9597861822 added tablex.previous_element 2024-04-24 13:04:30 +10:00
Max Cahill
aee733833e added alias for nequals for vec2 2024-03-27 12:32:57 +11:00
Max Cahill
69142df6d4 fixed broken pingpong from #72 2024-03-07 16:34:23 +11:00
Max Cahill
f9c1965205 Merge remote-tracking branch 'origin/master' 2024-03-07 11:39:51 +11:00
Max Cahill
19bb169e55 fixed intersect.balance_from_mass crashing with nil/false mass 2024-03-07 11:39:44 +11:00
Max Cahill
63294a6e26
Merge pull request #72 from Sheepolution/pr
Fix incorrect implementation of pingpong
2024-02-19 15:09:00 +11:00
Sheepolution
3ca9aedc7d Fix incorrect implementation of pingpong 2024-02-17 15:45:18 +01:00
Max Cahill
ef4ef69b0f made vector metamethods not do inplace modifications (was completely unsafe and i can't believe i missed it on review :D sorry folks) 2024-01-19 10:25:04 +11:00
Max Cahill
3d03d3238a renamed functional.zip to functional.combine; functional.zip and new functional.unzip are now "more traditional" simple sequence operations 2024-01-11 12:08:22 +11:00
Max Cahill
ae98047d97 added tablex.extract to pull data out into a structure 2024-01-11 11:49:31 +11:00
Max Cahill
73f9555002 Merge remote-tracking branch 'origin/master' 2024-01-02 12:35:19 +11:00
Max Cahill
0b18c049c2 changed default manual_gc memory ceiling to math.huge to avoid unnecessary collections 2024-01-02 12:35:15 +11:00
Max Cahill
2052cdd61a
Merge pull request #71 from billmakes/pubsub-fix-method-spelling
fixes spelling mistake in has_subscriber
2024-01-01 13:47:28 +11:00
Bill Hilbert
4f14e1c3f1 fixes spelling mistake in has_subscriber 2023-12-30 01:22:17 -05:00
Max Cahill
6bf6c6328a fixed typo 2023-12-21 13:59:38 +11:00
Max Cahill
568472a091 Merge remote-tracking branch 'origin/master' 2023-12-18 16:19:21 +11:00
Max Cahill
768afaf02d
Merge pull request #70 from billmakes/prev_state_name
state_machine: include prev_state_name
2023-12-18 16:19:07 +11:00
Max Cahill
041f509e17 Merge remote-tracking branch 'origin/master' 2023-12-18 16:18:31 +11:00
Max Cahill
40dfb3cf9f added experimental async:await api 2023-12-18 16:18:28 +11:00
Bill Hilbert
b68713a143 format document 2023-12-17 23:38:30 -05:00
Bill Hilbert
ca49753375 state_machine: include prev_state_name 2023-12-14 20:54:05 -05:00
Max Cahill
90f46c2c6a
Merge pull request #68 from billmakes/master
vec2: add meta functions for mathematical operators
2023-12-14 13:05:11 +11:00
Bill Hilbert
2d0abbd021 use existing methods 2023-12-13 11:10:20 -05:00
Bill Hilbert
ce0205b42a rollback state_machine commit 2023-12-13 10:16:24 -05:00
Bill Hilbert
01e871c415 state_machine: prev_state_name 2023-12-12 22:22:13 -05:00
Bill Hilbert
f29882c2ee add meta functions for mathmatical operators 2023-12-12 21:53:36 -05:00
Max Cahill
e4953b6d47
Merge pull request #67 from zorggn/patch-1
Add HSV conversion functionality to colour.lua
2023-12-11 14:38:30 +11:00
zorg
77199cde0b
Update colour.lua
*To Appease A Linter.*
2023-12-11 04:37:55 +01:00
zorg
5caab66d58
Add to colour.lua
Added RGB-HSV, HSV-RGB, HSV-HSL, HSL-HSV conversion functions.
2023-12-11 03:32:14 +01:00
Max Cahill
5641b393e4 fix linter nags 2023-12-05 12:33:29 +11:00
Max Cahill
4a3740cf53 added pathfind 2023-12-05 10:56:42 +11:00
Max Cahill
1b396037a2 added mathx.identity for use as a default easing function without a branch 2023-11-23 16:16:15 +11:00
Max Cahill
6fa0b31455 fixed crash running in a thread in love without explicitly requiring love.system (unlikely as you rarely need it) 2023-11-09 16:55:08 +11:00
Max Cahill
f091c89893 added async.value for "eventually" collecting the value of a function that can return nothing for a while (eg querying another thread or whatever). not particularly happy with the name, await is probably a loaded term though 2023-10-12 16:15:15 +11:00