Fixed wrong texture name

This commit is contained in:
sfroitzheim 2014-12-12 15:09:51 +01:00
parent 291a0f1899
commit db9b90d089

View File

@ -185,7 +185,7 @@ void Level::load() {
//add player //add player
Model marbleModel = Model("marbleSmooth.obj", 0.75f); Model marbleModel = Model("marbleSmooth.obj", 0.75f);
Material marbleMaterial = Material("marbletexture.png", 0.1f, 0.5f, 0.5f, 3.0f); Material marbleMaterial = Material("Marbletexture.png", 0.1f, 0.5f, 0.5f, 3.0f);
Object* object = new Object(marbleModel, marbleMaterial, glm::vec3(2.0f, 10.0f, 2.0f), Object* object = new Object(marbleModel, marbleMaterial, glm::vec3(2.0f, 10.0f, 2.0f),
glm::vec3(0.0f, 0.0f, 0.0f)); glm::vec3(0.0f, 0.0f, 0.0f));
objects.push_back(object); objects.push_back(object);