mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
REVIEWED: Examples section comments, for better organization and consistency
This commit is contained in:
@ -35,6 +35,9 @@
|
||||
|
||||
#define MAX_CUBES 30
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// GBuffer data
|
||||
typedef struct GBuffer {
|
||||
unsigned int framebuffer;
|
||||
|
||||
@ -34,6 +34,9 @@
|
||||
#define COLORS_PER_PALETTE 8
|
||||
#define VALUES_PER_COLOR 3
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Global Variables Definition
|
||||
//------------------------------------------------------------------------------------
|
||||
static const int palettes[MAX_PALETTES][COLORS_PER_PALETTE*VALUES_PER_COLOR] = {
|
||||
{ // 3-BIT RGB
|
||||
0, 0, 0,
|
||||
|
||||
@ -46,6 +46,9 @@ typedef enum {
|
||||
//FX_FXAA
|
||||
} PostproShader;
|
||||
|
||||
//------------------------------------------------------------------------------------
|
||||
// Global Variables Definition
|
||||
//------------------------------------------------------------------------------------
|
||||
static const char *postproShaderText[] = {
|
||||
"GRAYSCALE",
|
||||
"POSTERIZATION",
|
||||
|
||||
Reference in New Issue
Block a user