From f439828dc068974ddc161cc3469ac489a93bbabc Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Sat, 23 Dec 2023 17:04:05 -0700 Subject: Working on the web assembly openglES issue --- src/entity.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/entity.c') 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) { -- cgit v1.2.3