optimize case of sequential shared radius circle drawing by reusing the geometry by just offsetting it
This commit is contained in:
@ -255,6 +255,10 @@ static void drawdef(Player *player) {
|
||||
draw_circle((Vec2) { 256, 128 },
|
||||
24,
|
||||
(Color) { 255, 0, 0, 255 });
|
||||
|
||||
draw_circle((Vec2) { 304, 128 },
|
||||
24,
|
||||
(Color) { 255, 0, 0, 255 });
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user