Browse Source

Update CONVENTIONS.md

main
Ray 3 years ago committed by GitHub
parent
commit
4e15e9623f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CONVENTIONS.md

1
CONVENTIONS.md

@ -17,6 +17,7 @@ Operators | value1 - value2 | `int res = value - 5;`
Enum | TitleCase | `enum TextureFormat` Enum | TitleCase | `enum TextureFormat`
Enum members | ALL_CAPS | `PIXELFORMAT_UNCOMPRESSED_R8G8B8` Enum members | ALL_CAPS | `PIXELFORMAT_UNCOMPRESSED_R8G8B8`
Struct | TitleCase | `struct Texture2D`, `struct Material` Struct | TitleCase | `struct Texture2D`, `struct Material`
Struct typedef | TitleCase | `typedef struct Texture { ... } Texture;`
Struct members | lowerCase | `texture.width`, `color.r` Struct members | lowerCase | `texture.width`, `color.r`
Functions | TitleCase | `InitWindow()`, `LoadImageFromMemory()` Functions | TitleCase | `InitWindow()`, `LoadImageFromMemory()`
Functions params | lowerCase | `width`, `height` Functions params | lowerCase | `width`, `height`

Loading…
Cancel
Save