16 tons.
This commit is contained in:
parent
841b0176f6
commit
8ea5af6ef9
@ -1359,6 +1359,7 @@ void Engine::Render(float elapsedTime) {
|
||||
for (auto& [key, player] : m_players) {
|
||||
RemotePlayer* rt = static_cast<RemotePlayer*>(player);
|
||||
//std::cout << key << ": "; rt->GetPosition().Afficher();
|
||||
glClear(GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
rt->Render(m_animeAtlas, m_shader01, all, elapsedTime);
|
||||
m_otherplayerpos = player->GetPosition(); // Aller chercher GetPosition des deux façon, voir si ça chie.
|
||||
}
|
||||
|
@ -89,8 +89,6 @@ void RemotePlayer::Render(TextureAtlas& atlas, Shader& shader, Transformation tr
|
||||
float width = 1.f;
|
||||
float height = 1.7f;
|
||||
|
||||
std::cout << "hahahaha";
|
||||
|
||||
//Matrix4 mat4 = tran.GetMatrix();
|
||||
//mat4 VP = pMatrix * vMatrix;
|
||||
//Vector3f CameraRight = Vector3f(mat4.Get11(), mat4.Get21(), mat4.Get31());
|
||||
|
Loading…
Reference in New Issue
Block a user