Mercurial
comparison raylib_examples/main.c @ 1:adcfad6e86fb
Updated naming and separated out some logic within seobeo.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 24 Sep 2025 09:11:20 -0700 |
| parents | hello_world/main.c@5695ef413be0 |
| children | f33d9ff8b6e8 |
comparison
equal
deleted
inserted
replaced
| 0:5695ef413be0 | 1:adcfad6e86fb |
|---|---|
| 1 #include <stdio.h> | |
| 2 #include "helper/helper.h" | |
| 3 #include "third_party/raylib/raylib-5.5_macos/include/raylib.h" | |
| 4 | |
| 5 int main() | |
| 6 { | |
| 7 InitWindow(800, 450, "raylib [core] example - basic window"); | |
| 8 while (!WindowShouldClose()) | |
| 9 { | |
| 10 BeginDrawing(); | |
| 11 ClearBackground(RAYWHITE); | |
| 12 DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY); | |
| 13 EndDrawing(); | |
| 14 } | |
| 15 CloseWindow(); | |
| 16 return 0; | |
| 17 } |