Chair in place

This commit is contained in:
Aleksander Burkowski 2023-01-31 17:06:03 +01:00
parent 2f2d12e28c
commit 45c21133ba

View File

@ -380,11 +380,14 @@ void renderScene(GLFWwindow* window)
// 1.0f,
// 0.2f
//);
//drawObjectPBR(models::officeChair, glm::mat4(),
// textures::officeChariTexture,
// 0.2f,
// 0.0f
//);
model = glm::mat4(1.0f);
model = glm::scale(glm::vec3(0.5f)) * glm::translate(glm::vec3(-2.65f, 0.0f, -1.65f));
model = glm::rotate(model, glm::radians(180.0f), glm::vec3(0, 1, 0));
drawObjectPBR(models::officeChair, model,
textures::officeChariTexture,
0.2f,
0.0f
);
//drawObjectPBR(models::lamp, glm::mat4() * glm::scale(glm::vec3(0.001f)),
// textures::lampTexture,
// 0.3f,
@ -415,10 +418,6 @@ void renderScene(GLFWwindow* window)
0.3f,
0.0f
);
//drawObjectPBR(models::windowFrame, glm::mat4(),
// textures::windowFrameTexture,
// 0.2f,
// 0.0f);
//drawObjectPBR(models::bookShelf, glm::mat4() * glm::scale(glm::vec3(0.01)),
// textures::bookShelfTexture,
// 0.4f,