11 Commits

Author SHA1 Message Date
Mark Tolmacs
3363e0e289
Refactor shape functions and fix curved half point handle on linear 2025-05-20 09:28:52 +02:00
Mark Tolmacs
076b1e0e31
Remove comment 2025-05-20 09:27:42 +02:00
Mark Tolmacs
6e06fe9fda
Revert "State"
This reverts commit 4ba1bdaead0d74afea3c151efedeb59dfddf24de.
2025-05-20 09:27:42 +02:00
Mark Tolmacs
6ab3b6c029
State 2025-05-20 09:27:42 +02:00
Mark Tolmacs
8469c6670a
Inverted polygon now works just as well for hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-20 09:27:42 +02:00
Mark Tolmacs
3b1c6444e2
Refactor
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-20 09:27:42 +02:00
Mark Tolmacs
cd3ca3b4ca
Use roughjs to generate the line and freedraw shapes for collision 2025-05-20 09:27:42 +02:00
Mark Tolmacs
14a0cd3a97
Fast fail path for hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-20 09:27:42 +02:00
Mark Tolmacs
0c5d3850d0
Precise hit testing
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2025-05-20 09:27:42 +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