diff options
| author | iamcheeseman <[hidden email]> | 2026-01-15 20:53:56 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-15 20:53:56 -0500 |
| commit | 057997b3578f3ff62457c31e9fdcb301380088ca (patch) | |
| tree | 01a136263c457daef1ad35dd0a24849f6aaa69b2 /src/draw.odin | |
| parent | c353e0b095fb724ee50d6e09fb00cc82b51da250 (diff) | |
scarf
Diffstat (limited to 'src/draw.odin')
| -rw-r--r-- | src/draw.odin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/draw.odin b/src/draw.odin index 6507e03..2724ce3 100644 --- a/src/draw.odin +++ b/src/draw.odin @@ -65,6 +65,10 @@ draw_end_frame :: proc() { rl.EndDrawing() } +draw_circle :: proc(pos: Vec2, rad: f32) { + rl.DrawCircle(i32(pos.x), i32(pos.y), rad, _color_to_rl(renderer.tint)) +} + draw_rect :: proc(rect: Rect) { assert(rect.size.x > 0 && rect.size.y > 0) |
