aboutsummaryrefslogtreecommitdiff
path: root/source/Player.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2022-04-30 13:55:20 -0700
committerrtk0c <[email protected]>2022-04-30 13:55:20 -0700
commit453e1df6fb7a5847c8a5b26bd8479451091fb69d (patch)
treee0753be4c78535a3d2697c8b7be4123b76d2ad0d /source/Player.cpp
parentac153a0a9463e3877fb0066e3603b6bf15fe6706 (diff)
Changeset: 20 Add ImGuizmo for GameObjects, start to make things actually render
Diffstat (limited to 'source/Player.cpp')
-rw-r--r--source/Player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Player.cpp b/source/Player.cpp
index f97793e..b37a232 100644
--- a/source/Player.cpp
+++ b/source/Player.cpp
@@ -1,6 +1,7 @@
#include "Player.hpp"
#include "AppConfig.hpp"
+#include "CommonVertexIndex.hpp"
#include "ScopeGuard.hpp"
#include "Utils.hpp"
@@ -22,7 +23,7 @@ Player::Player(GameWorld* world, int id)
: GameObject(KD_Player, world)
, mId{ id } {
renderObject.SetMaterial(gDefaultMaterial.Get());
- renderObject.SetFormat(gVformatStandardPacked.Get(), Tags::IT_16Bit);
+ renderObject.SetFormat(gVformatStandard.Get(), Tags::IT_16Bit);
renderObject.RebuildIfNecessary();
}