mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated raylib coding conventions (markdown)
@ -4,7 +4,7 @@ Code element | Convention | Example
|
||||
--- | :---: | ---
|
||||
Macros | ALL_CAPS | `#define MIN(a,b) (((a)<(b))?(a):(b))`
|
||||
Defines | ALL_CAPS | `#define PLATFORM_DESKTOP`
|
||||
Constants | lowerCase | `const int maxValue= 8`
|
||||
Constants | lowerCase | `const int maxValue = 8`
|
||||
Struct | TitleCase | `struct Texture2D`
|
||||
Struct members |lowerCase | `texture.id`
|
||||
Enum | TitleCase | `TextureFormat`
|
||||
|
||||
Reference in New Issue
Block a user