Fixed wrong texture name
This commit is contained in:
parent
4e336fbca4
commit
5151a864df
2
level.cc
2
level.cc
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user