Nick Hayashi
1 year ago
8 changed files with 69 additions and 18 deletions
-
8array.hpp
-
22config.h
-
29print.cpp
-
14serialize.cpp
-
2serialize.h
-
2string.h
-
1table.hpp
-
9util.h
@ -1,15 +1,23 @@ |
|||
|
|||
#pragma once |
|||
#ifndef ULE_CONFIG_H |
|||
#define ULE_CONFIG_H |
|||
|
|||
// define this macro to include the serialization code `serialize.h/.cpp`, as well as serialization |
|||
// for the hashtable(s) and array implementations. |
|||
//#define ULE_CONFIG_OPTION_SERIALIZATION |
|||
#define ULE_CONFIG_OPTION_SERIALIZATION |
|||
|
|||
// all functions in the library will invoke a semicolon-terminated macro as their first line of execution. |
|||
// this is for use by an instrusive profiler, though could be used for whatever purpose. |
|||
//#define ULE_CONFIG_OPTION_FTAG ZoneScoped |
|||
#include <Tracy.hpp> |
|||
#define ULE_CONFIG_OPTION_FTAG ZoneScoped |
|||
|
|||
// use glm for vector and matrix types and operations. |
|||
// if this is defined, you will also need to include 'glm'. make sure the following headers can be found on your system. |
|||
// the way this is done currently hurts compile times. Eventually we will have a glm replacement and this problem goes away. |
|||
// You can also compile ULE into a static lib to avoid this issue. |
|||
#include <glm/glm.hpp> |
|||
#include <glm/gtc/epsilon.hpp> |
|||
#include <glm/gtc/matrix_transform.hpp> |
|||
#include <glm/gtc/quaternion.hpp> |
|||
#define ULE_CONFIG_OPTION_USE_GLM |
|||
|
|||
|
|||
#endif |
|||
#define ULE_CONFIG_OPTION_PRINT_OUTPUT_USE_ANSI_COLOR_CODES |
|||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue