From 5d0c30e56aecbaa9d1f0bb806de2688d8b198f2c Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Sat, 17 Jan 2026 22:40:57 -0500 Subject: random stuff --- src/rope.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/rope.odin') diff --git a/src/rope.odin b/src/rope.odin index f779c4e..f66a3bb 100644 --- a/src/rope.odin +++ b/src/rope.odin @@ -2,6 +2,7 @@ package demonchime import "core:log" import "core:math" +import "core:math/linalg" import rl "vendor:raylib" @@ -37,7 +38,7 @@ draw_ropes :: proc() { draw_texture( img, a.pos, - offset = Vec2{f32(img.width) * 0.5, 0}, + offset = linalg.round(Vec2{f32(img.width) * 0.5, 0}), rotation = rotation, ) } -- cgit v1.3-2-g0d8e