Skip to content

Commit

Permalink
Update CONVENTIONS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 authored Jan 11, 2022
1 parent 9483b0c commit 4e15e96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CONVENTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Operators | value1 - value2 | `int res = value - 5;`
Enum | TitleCase | `enum TextureFormat`
Enum members | ALL_CAPS | `PIXELFORMAT_UNCOMPRESSED_R8G8B8`
Struct | TitleCase | `struct Texture2D`, `struct Material`
Struct members |lowerCase | `texture.width`, `color.r`
Struct typedef | TitleCase | `typedef struct Texture { ... } Texture;`
Struct members | lowerCase | `texture.width`, `color.r`
Functions | TitleCase | `InitWindow()`, `LoadImageFromMemory()`
Functions params | lowerCase | `width`, `height`
Ternary Operator | (condition)? result1 : result2 | `printf("Value is 0: %s", (value == 0)? "yes" : "no");`
Expand Down

0 comments on commit 4e15e96

Please sign in to comment.