pleurer en rotation
This commit is contained in:
@@ -1046,6 +1046,8 @@ void Engine::Render(float elapsedTime) {
|
||||
|
||||
Transformation all;
|
||||
Transformation skybox;
|
||||
Transformation remotePlayer;
|
||||
|
||||
Vector3f vstep;
|
||||
|
||||
// Transformations initiales
|
||||
@@ -1141,12 +1143,21 @@ void Engine::Render(float elapsedTime) {
|
||||
}
|
||||
|
||||
if (m_isSkybox) m_renderer.RenderWorld(&m_world, m_renderCount, m_player.GetPosition(), m_player.GetDirection(), all, m_shader01, m_textureAtlas);
|
||||
//m_remotePlayer.ApplyTransformation(remotePlayer, false);
|
||||
m_world.Update(m_bullets, m_player.GetPosition(), m_blockinfo);
|
||||
m_renderer.UpdateMesh(&m_world, m_player.GetPosition(), m_blockinfo);
|
||||
m_remotePlayer.Render(m_textureAtlas, m_shader01, elapsedTime, m_player);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
m_remotePlayer.Render(m_textureAtlas, m_shader01, elapsedTime);
|
||||
if (m_isSkybox) m_skybox.Render(skybox);
|
||||
|
||||
|
||||
|
||||
|
||||
if (m_isSkybox) DrawHud(elapsedTime, bloc);
|
||||
if (m_isSkybox) DisplayPovGun();
|
||||
ProcessNotificationQueue();
|
||||
|
Reference in New Issue
Block a user