Proper rotation of child physics objects

This commit is contained in:
ViktorLjung
2014-04-28 19:51:13 +02:00
parent 55059c05fe
commit ed1df6dc60
8 changed files with 166 additions and 67 deletions
+3
View File
@@ -15,6 +15,9 @@ void Texture::Load(std::string path)
}
m_Texture = m_TextureCache[path];
glBindTexture(GL_TEXTURE_2D, m_Texture);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
}
void Texture::Bind()