summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2023-12-13 21:48:10 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2023-12-13 21:48:10 +0700
commitc91f0c68aa03451607bca6f9bbaa8fb4503b1494 (patch)
treefdf5f0795e5bbaa338a79e09ee8132116f398c82
parentdddd49ca24fe0f0f6ee5b86f7dc2131a53e7e6ee (diff)
with origin point
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e05d3e1..eaf6d3d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);