mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
add debug hitboxes render
This commit is contained in:
parent
ee7328dcad
commit
f3c5afa1ab
5 changed files with 33 additions and 6 deletions
|
|
@ -24,6 +24,7 @@ struct Transform {
|
|||
|
||||
class Level;
|
||||
class Assets;
|
||||
class LineBatch;
|
||||
class ModelBatch;
|
||||
class Frustum;
|
||||
class Rig;
|
||||
|
|
@ -60,6 +61,8 @@ class Entities {
|
|||
public:
|
||||
Entities(Level* level);
|
||||
void updatePhysics(float delta);
|
||||
|
||||
void renderDebug(LineBatch& batch);
|
||||
void render(Assets* assets, ModelBatch& batch, Frustum& frustum);
|
||||
|
||||
entityid_t drop(glm::vec3 pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue