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:
@ -23,6 +23,9 @@
|
||||
// NOTE: This value is defined in [rlgl] module and can be changed there
|
||||
#define MAX_BATCH_ELEMENTS 8192
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
typedef struct Bunny {
|
||||
Vector2 position;
|
||||
Vector2 speed;
|
||||
|
||||
@ -21,6 +21,9 @@
|
||||
#define PLAYER_SIZE 16 // Player size
|
||||
#define PLAYER_TILE_VISIBILITY 2 // Player can see 2 tiles around its position
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// Map data type
|
||||
typedef struct Map {
|
||||
unsigned int tilesX; // Number of tiles in X axis
|
||||
|
||||
@ -17,7 +17,10 @@
|
||||
|
||||
#define MAX_PARTICLES 200
|
||||
|
||||
// Particle structure with basic data
|
||||
//----------------------------------------------------------------------------------
|
||||
// Types and Structures Definition
|
||||
//----------------------------------------------------------------------------------
|
||||
// Particle structure
|
||||
typedef struct {
|
||||
Vector2 position;
|
||||
Color color;
|
||||
|
||||
Reference in New Issue
Block a user