From 33efdb297ce4b3303a2173e64b111929bf2ea747 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 12 Apr 2019 15:13:21 +0200 Subject: [PATCH] Updated raylib coding conventions (markdown) --- raylib-coding-conventions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/raylib-coding-conventions.md b/raylib-coding-conventions.md index f30489b..5f8a010 100644 --- a/raylib-coding-conventions.md +++ b/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.