aboutsummaryrefslogtreecommitdiff
path: root/src/verlet.odin
diff options
context:
space:
mode:
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,