aboutsummaryrefslogtreecommitdiff
path: root/src/draw.odin
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-01-15 20:53:56 -0500
committeriamcheeseman <[hidden email]>2026-01-15 20:53:56 -0500
commit057997b3578f3ff62457c31e9fdcb301380088ca (patch)
tree01a136263c457daef1ad35dd0a24849f6aaa69b2 /src/draw.odin
parentc353e0b095fb724ee50d6e09fb00cc82b51da250 (diff)
scarf
Diffstat (limited to 'src/draw.odin')
-rw-r--r--src/draw.odin4
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)