fix camera matrix hacks

This commit is contained in:
Asuro
2025-03-29 17:10:26 +01:00
parent dbc65fec9a
commit ef7833caa6
5 changed files with 47 additions and 59 deletions

View File

@@ -11,7 +11,11 @@
struct X \
{ \
uint16_t Idx = UINT16_MAX; \
};
}; \
inline bool IsValid(X h) \
{ \
return h.Idx != UINT16_MAX; \
}
namespace Game
{
@@ -149,6 +153,7 @@ namespace Game
EntityManager<TestEntity, TestEntityHandle, 32> Tests;
EntityManager<PuzzleTileEntity, PuzzleTileEntityHandle, 1024> PuzzleTiles;
EntityManager<UIQuadEntity, UIQuadEntityHandle, 1024> UIQuads;
CubeHandle PlayerOutsideViewCube;
public:
Generated::StaticPuzzleData PuzzleData;