Due to GitHub's file size limit and large file storage limit, PyTorch's binary and lib files must be downloaded separately. Download both the debug and release version of the Stable Window's LibTorch c++ CPU from https://pytorch.org/get-started/locally/. Create a bin and lib folder in core/vendor/pytorch-config. Place all lib files into the lib folder and all binary files into the bin folder for each configuration.
- Naming Conventions:
-
Functions: Use camel case:
functionName
. -
Scoped Variables: Use camel case:
variableName
. -
Function Parameters: Use camel case:
parameterName
. -
Classes: Use camel case:
className
. -
Class Variables
- Member Varaibles: Use the
m_
prefix:m_MemberVariable
. - Stack Variables: Use the
s_
prefix:s_StaticVariable
.
- Member Varaibles: Use the
-
Namespaces: Use single plural words where applicable:
::Time::
. -
Macros: Use snake case:
MACRO_NAME
.- Macros directly related to GRAV Engine will have the
GRAV_
prefix:GRAV_MACRO_NAME
. - Macros directly related only to the engine section will have the
GRAV_ENGINE_
prefix:GRAV_ENGINE_MACRO_NAME
.
- Macros directly related to GRAV Engine will have the
-
Tabs are used for indention.
-
Follow preexisting code when in doubt.
-