From 0e65e5877fc0fc5a9246ee14a7341be462b7a761 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 17 Jun 2021 12:54:05 +0200 Subject: [PATCH] Update rlgl_standalone.c --- examples/others/rlgl_standalone.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/others/rlgl_standalone.c b/examples/others/rlgl_standalone.c index 47233afd..f3088903 100644 --- a/examples/others/rlgl_standalone.c +++ b/examples/others/rlgl_standalone.c @@ -65,6 +65,14 @@ #define RAYWHITE (Color){ 245, 245, 245, 255 } // My own White (raylib logo) #define DARKGRAY (Color){ 80, 80, 80, 255 } // Dark Gray +// Color, 4 components, R8G8B8A8 (32bit) +typedef struct Color { + unsigned char r; // Color red value + unsigned char g; // Color green value + unsigned char b; // Color blue value + unsigned char a; // Color alpha value +} Color; + // Camera type, defines a camera position/orientation in 3d space typedef struct Camera { Vector3 position; // Camera position