implemented TileMap, still need Shader for it with billboarding and all that jizz XD

This commit is contained in:
2026-02-02 20:52:28 +01:00
parent 2f3fdf83ae
commit ea2dc4f6b5
7 changed files with 130 additions and 81 deletions

View File

@@ -11,6 +11,9 @@ namespace TSE
/// @brief the epsilon used as min float value for comparisons in the engine
constexpr float TSE_EPSILON = 1e-6f;
/// @brief 32-bit golden ratio constant used for hash mixing
constexpr uint TSE_HASH_GOLDEN_RATIO_32 = 0x9e3779b9u;
/// @brief a simple degrees to radiant conversion function
/// @param deg the degrees value
/// @return the radiant value