Indépendance!

This commit is contained in:
MarcEricMartel
2023-09-30 14:46:54 -04:00
parent ace555a93e
commit 033365c961
32 changed files with 890 additions and 1204 deletions

View File

@@ -45,7 +45,7 @@ void Skybox::Init(float size){
void Skybox::Render(Transformation tran) const {
glDisable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
tran.Use();
glLoadMatrixf(tran.GetMatrix().GetInternalValues());
m_texture.Bind();
m_shader.Use();
m_vertexBuffer.Render();