mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: renaming drawing functions (#12913)
This commit is contained in:
@@ -16,7 +16,7 @@ pub mut:
|
||||
}
|
||||
|
||||
pub fn (rocket Rocket) draw(mut ctx gg.Context) {
|
||||
ctx.draw_circle(rocket.pos.x, get_params().height - rocket.pos.y, get_params().rocket_radius,
|
||||
ctx.draw_circle_filled(rocket.pos.x, get_params().height - rocket.pos.y, get_params().rocket_radius,
|
||||
rocket.color)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user