This commit is contained in:
MarcEricMartel
2021-12-06 12:21:05 -05:00
parent 7bf926378b
commit 8debc055ed
4 changed files with 2 additions and 9 deletions

View File

@@ -110,9 +110,6 @@ void Engine::DrawHud(float elapsedTime) {
ss << " Rendered Chunks : " << m_renderCount;
PrintText(10, Height() - 35, ss.str());
ss.str("");
ss << " Bad Hits on Chunks : " << m_badHitCount;
PrintText(10, Height() - 45, ss.str());
ss.str("");
ss << " Velocity : " << m_player.GetVelocity(); // IMPORTANT : on utilise l <20> operateur << pour afficher la position
PrintText(10, 10, ss.str());
ss.str("");
@@ -121,10 +118,6 @@ void Engine::DrawHud(float elapsedTime) {
ss.str("");
ss << " Position : " << m_player.GetPosition();
PrintText(10, 30, ss.str());
ss.str("");
ss << " CamPos : " << m_player.GetPOV();
PrintText(10, 40, ss.str());
// Affichage du crosshair
m_textureCrosshair.Bind();
static const int crossSize = 32;
glLoadIdentity();