aboutsummaryrefslogtreecommitdiff
path: root/source/Player.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-30 13:55:20 -0700
committerhnOsmium0001 <[email protected]>2022-04-30 13:55:20 -0700
commit242317c1f7f2a6abdfbdbc99d5297539bbdc842f (patch)
tree4ccaae8f20b9b2534022419eb9eb7744b913cac7 /source/Player.cpp
parent5f467c899d1024b01c0d7ba86d9ac2f28878eb55 (diff)
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();
}