10 Commits

Author SHA1 Message Date
Mark Tolmacs
8b248eda94
Refactor eraser and lasso hit tests
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-18 10:02:06 +02:00
Mark Tolmacs
da9cda14d6
Revert "State"
This reverts commit 4ba1bdaead0d74afea3c151efedeb59dfddf24de.
2025-05-15 18:30:18 +02:00
Mark Tolmacs
4ba1bdaead
State 2025-05-15 18:20:47 +02:00
Mark Tolmacs
d08414c2a9
Inverted polygon now works just as well for hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-14 21:36:16 +02:00
Mark Tolmacs
814520b1f0
Refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-14 21:35:52 +02:00
Mark Tolmacs
9203c99eec
Use roughjs to generate the line and freedraw shapes for collision 2025-05-14 21:35:52 +02:00
Mark Tolmacs
52205031ab
Fast fail path for hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-14 21:35:52 +02:00
Mark Tolmacs
04e1bf0bc4
Precise hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-14 21:35:52 +02:00
jhanma17dev
dff69e9191
chore: Element center point util (#9298) 2025-04-09 17:04:51 +02:00
Marcel Mraz
432a46ef9e
refactor: separate elements logic into a standalone package (#9285) 2025-03-26 15:24:59 +01:00