Move colors into color struct

This commit is contained in:
Not-Nik 2023-07-10 00:57:02 +02:00
parent 642ca0513f
commit c564af4f61
Failed to generate hash of commit
11 changed files with 124 additions and 124 deletions

View file

@ -38,11 +38,11 @@ pub fn main() anyerror!void {
//----------------------------------------------------------------------------------
rl.BeginDrawing();
rl.ClearBackground(rl.RAYWHITE);
rl.ClearBackground(rl.Color.RAYWHITE);
rl.DrawText("move the ball with arrow keys", 10, 10, 20, rl.DARKGRAY);
rl.DrawText("move the ball with arrow keys", 10, 10, 20, rl.Color.DARKGRAY);
rl.DrawCircleV(ballPosition, 50, rl.MAROON);
rl.DrawCircleV(ballPosition, 50, rl.Color.MAROON);
rl.EndDrawing();
//----------------------------------------------------------------------------------