#pragma once #include #include namespace floormat { constexpr inline unsigned char TILE_MAX_DIM = 16; constexpr inline std::size_t TILE_COUNT = TILE_MAX_DIM*TILE_MAX_DIM; constexpr inline auto TILE_MAX_DIM20d = Magnum::Math::Vector3 { TILE_MAX_DIM, TILE_MAX_DIM, 0 }; constexpr inline auto iTILE_SIZE = Magnum::Math::Vector3 { 64, 64, 64 }; constexpr inline auto iTILE_SIZE2 = Magnum::Math::Vector2 { iTILE_SIZE[0], iTILE_SIZE[1] }; constexpr inline auto TILE_SIZE = Magnum::Math::Vector3 { iTILE_SIZE }; constexpr inline auto dTILE_SIZE = Magnum::Math::Vector3 { iTILE_SIZE }; constexpr inline auto TILE_SIZE2 = Magnum::Math::Vector2 { iTILE_SIZE2 }; constexpr inline auto dTILE_SIZE2 = Magnum::Math::Vector2 { TILE_SIZE2 }; constexpr inline auto TILE_SIZE20 = Magnum::Math::Vector3 { (float)iTILE_SIZE[0], (float)iTILE_SIZE[1], 0 }; } // namespace floormat