using log calls
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
#include "window/Display.h"
|
||||
#include "game/client/ClientGame.h"
|
||||
#include "game/client/Client.h"
|
||||
|
||||
#include <iostream>
|
||||
#include "misc/Format.h"
|
||||
|
||||
namespace td {
|
||||
namespace render {
|
||||
@@ -25,11 +24,11 @@ ImVec4 WorldRenderer::GetImGuiTeamColor(game::TeamColor color) {
|
||||
}
|
||||
|
||||
void WorldRenderer::LoadModels() {
|
||||
std::cout << "World Created !\n";
|
||||
utils::LOGD("World Created !");
|
||||
m_WorldVao = std::make_unique<GL::VertexArray>(std::move(WorldLoader::LoadWorldModel(m_World)));
|
||||
m_MobVao = std::make_unique<GL::VertexArray>(std::move(WorldLoader::LoadMobModel()));
|
||||
m_SelectTileVao = std::make_unique<GL::VertexArray>(std::move(WorldLoader::LoadTileSelectModel()));
|
||||
std::cout << "Vertex Count : " << m_WorldVao->GetVertexCount() << std::endl;
|
||||
utils::LOGD(utils::format("Vertex Count : %u", m_WorldVao->GetVertexCount()));
|
||||
}
|
||||
|
||||
WorldRenderer::WorldRenderer(game::World* world, client::ClientGame* client) : m_Client(client), m_Renderer(m_Client->GetRenderer()), m_World(world), m_Zoom(0.1) {
|
||||
|
||||
Reference in New Issue
Block a user