From db10e319cc2201924815b2d8c9a4c2d21c2bfbb6 Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Sat, 17 Jan 2026 18:19:57 -0500 Subject: Verlet ropes :) --- src/draw.odin | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/draw.odin') diff --git a/src/draw.odin b/src/draw.odin index d821a10..b15853b 100644 --- a/src/draw.odin +++ b/src/draw.odin @@ -121,6 +121,8 @@ draw_texture_quad :: proc( quad.size.y *= -1 } + position := linalg.round(position) + rl.DrawTexturePro( img, transmute(rl.Rectangle)quad, @@ -131,7 +133,9 @@ draw_texture_quad :: proc( quad.size.y * scale.y, }, offset, - rotation, + // rotation, + math.round(rotation), + // math.round(rotation / 10) * 10, _color_to_rl(renderer.tint), ) } -- cgit v1.3-2-g0d8e