diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2023-12-13 21:48:10 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2023-12-13 21:48:10 +0700 |
commit | c91f0c68aa03451607bca6f9bbaa8fb4503b1494 (patch) | |
tree | fdf5f0795e5bbaa338a79e09ee8132116f398c82 | |
parent | dddd49ca24fe0f0f6ee5b86f7dc2131a53e7e6ee (diff) |
with origin point
-rw-r--r-- | src/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,10 +1,11 @@ #include "raylib.h" -#include "raymath.h" typedef struct InitConfig { int SCREEN_WIDTH; int SCREEN_HEIGHT; + int ORIGIN_X; + int ORIGIN_Y; char TITLE[20]; int TARGET_FPS; } InitConfig; @@ -18,7 +19,9 @@ int main(void) InitConfig config = { 1500, 900, - "Just a fucking test", + 1500 / 2, + 900 / 2, + "Cool shit", 60 }; doInitialization(config); |