Updated raylib coding conventions (markdown)

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

+ 1
- 0
raylib-coding-conventions.md

@ -19,6 +19,7 @@ Operators | value1 + value2 | `int sum = value + 10;`
Operators | value1 - value2 | `int res = value - 5;`
Pointers | MyType *pointer | `Texture2D *array;`
float values | always x.xf | `float value = 10.0f`
Ternary Operator | (condition)? result1 : result2 | `printf("Value is 0: %s", (value == 0)? "yes" : "no");`
raylib code does not use TABS, use 4 spaces instead.

正在加载...
取消
保存