diff options
| author | iamcheeseman <[hidden email]> | 2026-01-17 18:19:57 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-17 18:19:57 -0500 |
| commit | db10e319cc2201924815b2d8c9a4c2d21c2bfbb6 (patch) | |
| tree | 17c7d1b0e485dc07161cbdca80ae2239fd6146c5 /src/draw.odin | |
| parent | eee06361048e34f6ca21348e8776636da95ef3f8 (diff) | |
Verlet ropes :)
Diffstat (limited to 'src/draw.odin')
| -rw-r--r-- | src/draw.odin | 6 |
1 files changed, 5 insertions, 1 deletions
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), ) } |
