diff options
| author | iamcheeseman <[hidden email]> | 2026-01-17 22:40:57 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-17 22:40:57 -0500 |
| commit | 5d0c30e56aecbaa9d1f0bb806de2688d8b198f2c (patch) | |
| tree | 7e7b7358740d7f738afbd721191c0c970bee76b2 /src/rope.odin | |
| parent | dbe4c645e08fccb89f7bc1988f7be5c2ea246b31 (diff) | |
random stuff
Diffstat (limited to 'src/rope.odin')
| -rw-r--r-- | src/rope.odin | 3 |
1 files changed, 2 insertions, 1 deletions
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, ) } |
