From f10255bcfa06918121098b43a8a6e93f71024fd9 Mon Sep 17 00:00:00 2001 From: Bleawu Date: Wed, 8 Apr 2026 09:36:34 +0530 Subject: [PATCH] Add comment for player rectangle initialization Hadn't come across Rectangle struct till now thought this would help other people too. --- examples/core/core_2d_camera.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/core/core_2d_camera.c b/examples/core/core_2d_camera.c index 7e5a14a70..d8c4cd415 100644 --- a/examples/core/core_2d_camera.c +++ b/examples/core/core_2d_camera.c @@ -30,6 +30,7 @@ int main(void) InitWindow(screenWidth, screenHeight, "raylib [core] example - 2d camera"); + //Rectangle rect = { x, y, width, height} Rectangle player = { 400, 280, 40, 40 }; Rectangle buildings[MAX_BUILDINGS] = { 0 }; Color buildColors[MAX_BUILDINGS] = { 0 };