From c91f0c68aa03451607bca6f9bbaa8fb4503b1494 Mon Sep 17 00:00:00 2001 From: Rosyid Haryadi Date: Wed, 13 Dec 2023 21:48:10 +0700 Subject: with origin point --- src/main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/main.c') 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); -- cgit v1.2.3-70-g09d2