aboutsummaryrefslogtreecommitdiff
path: root/src/screens/infoScreen.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-23 17:04:05 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-23 17:04:05 -0700
commitf439828dc068974ddc161cc3469ac489a93bbabc (patch)
tree1d74af0b59744a17ba73716d91196922d3843859 /src/screens/infoScreen.c
parent2c046ef3dca9e128a801c7a92c3a3a63e01fdd98 (diff)
Working on the web assembly openglES issue
Diffstat (limited to 'src/screens/infoScreen.c')
-rw-r--r--src/screens/infoScreen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screens/infoScreen.c b/src/screens/infoScreen.c
index 9e7f8d5..73079de 100644
--- a/src/screens/infoScreen.c
+++ b/src/screens/infoScreen.c
@@ -242,8 +242,7 @@ void updateInfoScreen(Game * game) {
// Draw shit.
BeginMode3D(infoScreen->camera);
- game->assets.models[info.assetId].transform = QuaternionToMatrix(infoScreen->rotations[currentEntity]);
- DrawModelWires(game->assets.models[info.assetId], Vector3Zero(), 1.0, GREEN);
+ drawModelWireframe(game->assets.models[info.assetId], Vector3Zero(), infoScreen->rotations[currentEntity], GREEN);
EndMode3D();
}