add skeleton debug view

This commit is contained in:
MihailRis
2024-07-21 14:52:16 +03:00
parent c63e19e87b
commit cf12338a32
5 changed files with 51 additions and 6 deletions
+2 -1
View File
@@ -100,6 +100,7 @@ class LineBatch;
class ModelBatch;
class Frustum;
class Entities;
class DrawContext;
namespace rigging {
struct Skeleton;
@@ -184,7 +185,7 @@ public:
void updatePhysics(float delta);
void update();
void renderDebug(LineBatch& batch, const Frustum& frustum);
void renderDebug(LineBatch& batch, const Frustum& frustum, const DrawContext& ctx);
void render(Assets* assets, ModelBatch& batch, const Frustum& frustum, bool pause);
entityid_t spawn(