bed in place

This commit is contained in:
Aleksander Burkowski 2023-01-31 16:48:33 +01:00
parent 6e88b0edc2
commit 2f2d12e28c

View File

@ -408,11 +408,13 @@ void renderScene(GLFWwindow* window)
// 0.2f,
// 0.0f
//);
//drawObjectPBR(models::bed, glm::mat4(),
// textures::bedTexture,
// 0.3f,
// 0.0f
//);
model = glm::mat4(1.0f) * glm::translate(glm::vec3(1.6f, 0.0f, -0.86f)) * glm::scale(glm::vec3(0.8f));
model = glm::rotate(model, glm::radians(270.0f), glm::vec3(0.0f, 1.0f, 0.0f));
drawObjectPBR(models::bed, model,
textures::bedTexture,
0.3f,
0.0f
);
//drawObjectPBR(models::windowFrame, glm::mat4(),
// textures::windowFrameTexture,
// 0.2f,