diplomska_naloga/Readme.md
2024-03-30 00:39:00 +01:00

673 B

how to build

g++ build.cpp -o build

after first emsdk clone run this

cd emsdk
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
cd ..

Code style

Naming Conventions:

  • PascalCase:

    • Functions
    • Class names
    • Struct names
  • camelCase:

    • Class attributes
    • Class methods
    • Struct attributes
    • Variables

Class Structure:

  • Header (.h) Files:
    • Declare public methods and attributes first, followed by private members.
  • Implementation (.cpp) Files:
    • Implement methods in the same order as declared in the corresponding header file.

Include order

  • Std
  • local ( form inc dir )
  • external raylib