aboutsummaryrefslogtreecommitdiff
path: root/src/verlet.odin
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-02-14 18:02:47 -0500
committeriamcheeseman <[hidden email]>2026-02-14 18:02:47 -0500
commit93c27830060788dea1c364465d29e44d05a3064e (patch)
tree4a8e1f6628026a4fb82c8a1c6084f2e35750cc28 /src/verlet.odin
parent1ff729f696c895f81f0cf0d1b8a2cca1d6e43eb8 (diff)
Only process keys that are bound to an action
Diffstat (limited to 'src/verlet.odin')
-rw-r--r--src/verlet.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/verlet.odin b/src/verlet.odin
index 0336bef..da88d42 100644
--- a/src/verlet.odin
+++ b/src/verlet.odin
@@ -21,6 +21,7 @@ Verlet_Rope :: struct {
node_length: f32,
}
+@(require_results)
create_verlet_node :: proc(pos: Vec2, is_static := false) -> Verlet_Node {
return Verlet_Node{
pos = pos,