Updated raylib coding conventions (markdown)

master
Ray 4 年前
父节点
当前提交
6779ef2dad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      raylib-coding-conventions.md

+ 1
- 1
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 | lowerCase | `const int maxValue= 8`
Constants | lowerCase | `const int maxValue = 8`
Struct | TitleCase | `struct Texture2D`
Struct members |lowerCase | `texture.id`
Enum | TitleCase | `TextureFormat`

正在加载...
取消
保存