Update rlgl_standalone.c
This commit is contained in:
parent
e07054d0d4
commit
0e65e5877f
1 changed files with 8 additions and 0 deletions
|
@ -65,6 +65,14 @@
|
||||||
#define RAYWHITE (Color){ 245, 245, 245, 255 } // My own White (raylib logo)
|
#define RAYWHITE (Color){ 245, 245, 245, 255 } // My own White (raylib logo)
|
||||||
#define DARKGRAY (Color){ 80, 80, 80, 255 } // Dark Gray
|
#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
|
// Camera type, defines a camera position/orientation in 3d space
|
||||||
typedef struct Camera {
|
typedef struct Camera {
|
||||||
Vector3 position; // Camera position
|
Vector3 position; // Camera position
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue