More convenience functions in structs
This commit is contained in:
parent
42671d0195
commit
7a9cdd3af0
9 changed files with 167 additions and 71 deletions
|
|
@ -10,7 +10,7 @@ pub fn main() anyerror!void {
|
|||
|
||||
rl.InitWindow(screenWidth, screenHeight, "raylib-zig [core] example - mouse input");
|
||||
|
||||
var ballPosition = rl.Vector2{ .x = -100.0, .y = -100.0 };
|
||||
var ballPosition = rl.Vector2.init(-100, -100);
|
||||
var ballColor = rl.DARKBLUE;
|
||||
|
||||
rl.SetTargetFPS(60); // Set our game to run at 60 frames-per-second
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue