#pragma once // STD #include // GLM #define GLM_FORCE_EXPLICIT_CTOR #include #include #define GLM_ENABLE_EXPERIMENTAL #if GLM_COMPILER & GLM_COMPILER_VC # define GLI_FORCE_INLINE __forceinline #elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM) # define GLI_FORCE_INLINE inline __attribute__((__always_inline__)) #else # define GLI_FORCE_INLINE inline #endif//GLM_COMPILER #define GLI_DISABLE_ASSERT 0 #if defined(NDEBUG) || GLI_DISABLE_ASSERT # define GLI_ASSERT(test) #else # define GLI_ASSERT(test) assert((test)) #endif extern "C" { namespace gli { using namespace glm; using std::size_t; typedef glm::uint8 byte; typedef ivec1 extent1d; typedef ivec2 extent2d; typedef ivec3 extent3d; typedef ivec4 extent4d; } }