aboutsummaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/entity.c b/src/entity.c
index a44220a..f36c941 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -368,14 +368,7 @@ RayCollision traceRayToEntityRadius(Entity entity, Ray ray, float scale) {
// Basic wireframe drawing.
void entityDraw(Entity * entity) {
- entity->model->transform = QuaternionToMatrix(entity->rotation);
-
- DrawModelWires(
- *entity->model,
- entity->position,
- 1.0,
- GREEN
- );
+ drawModelWireframe(*entity->model, entity->position, entity->rotation, GREEN);
}
void entityUpdatePosition(Entity * entity) {