diff --git a/include/llmr/util/constants.hpp b/include/llmr/util/constants.hpp index f4bde394d..ba967f994 100644 --- a/include/llmr/util/constants.hpp +++ b/include/llmr/util/constants.hpp @@ -8,7 +8,7 @@ namespace llmr { namespace util { -static const float tileSize = 512.0f; +extern const float tileSize; } } diff --git a/src/util/constants.cpp b/src/util/constants.cpp new file mode 100644 index 000000000..9243f6c98 --- /dev/null +++ b/src/util/constants.cpp @@ -0,0 +1,3 @@ +#include + +const float llmr::util::tileSize = 1024.0f;