From de4df82c435d395c8538602843cdf4df144ccaab Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 26 Sep 2020 19:43:01 +0200 Subject: [PATCH] Updated raylib coding conventions (markdown) --- raylib-coding-conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raylib-coding-conventions.md b/raylib-coding-conventions.md index 5f8a010..1406205 100644 --- a/raylib-coding-conventions.md +++ b/raylib-coding-conventions.md @@ -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 | ALL_CAPS | `const int NUMBER = 8` +Constants | lowerCase | `const int maxValue= 8` Struct | TitleCase | `struct Texture2D` Struct members |lowerCase | `texture.id` Enum | TitleCase | `TextureFormat`