Changed Columntexture to something better.
This commit is contained in:
parent
b9b7a6e7b4
commit
d4168fb002
BIN
Levels/Textures/ColumnTexture2.png
Normal file
BIN
Levels/Textures/ColumnTexture2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 721 KiB |
2
level.cc
2
level.cc
@ -64,7 +64,7 @@ void Level::load() {
|
|||||||
physics.addBox(1,3.0f,1,*blockObject2,2,physicObjects.size());
|
physics.addBox(1,3.0f,1,*blockObject2,2,physicObjects.size());
|
||||||
|
|
||||||
Model columnModel = Model("Column.obj", 1.0f);
|
Model columnModel = Model("Column.obj", 1.0f);
|
||||||
Material columnMaterial = Material("columnTexture_small.png", 0.1f, 0.6, 0.4f, 2.0f);
|
Material columnMaterial = Material("columnTexture2.png", 0.1f, 0.6, 0.4f, 2.0f);
|
||||||
Object* columnObject = new Object(columnModel, columnMaterial, glm::vec3(-2.0f, 7.0f, -2.0f),
|
Object* columnObject = new Object(columnModel, columnMaterial, glm::vec3(-2.0f, 7.0f, -2.0f),
|
||||||
glm::vec3(0.0f, 0.0f, 0.0f));
|
glm::vec3(0.0f, 0.0f, 0.0f));
|
||||||
objects.push_back(columnObject);
|
objects.push_back(columnObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user