-
Notifications
You must be signed in to change notification settings - Fork 6
Coding Style
Florian Preinfalk edited this page Jul 21, 2016
·
2 revisions
In order to keep our sanity while working on the engine, a coding style has been decided upon for ease of read and productivity. Examples have been put below, but for anyone who is used to
Prefix your variables with g_ for global, and m_ for member if it’s not temporary.
Names should be short and simple. For Classes, Structures and Enums use UpperCamelCase. For Variables and Methods use lowerCamelCase. Macros are all upper case seperated by underscores.