ceiling lamp in place

This commit is contained in:
Aleksander Burkowski 2023-01-31 18:17:35 +01:00
parent 88c8c7105f
commit 4ba3c3c6c7

View File

@ -408,11 +408,13 @@ void renderScene(GLFWwindow* window)
0.4f, 0.4f,
0.0f 0.0f
); );
//drawObjectPBR(models::ceilingLamp, glm::mat4(), model = glm::mat4(1.0f);
// textures::ceilingLampTexture, model = glm::scale(glm::vec3(0.4f)) * glm::translate(glm::vec3(0.0f, 3.6f, 0.0f));
// 0.2f, drawObjectPBR(models::ceilingLamp, model,
// 0.0f textures::ceilingLampTexture,
//); 0.2f,
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::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)); model = glm::rotate(model, glm::radians(270.0f), glm::vec3(0.0f, 1.0f, 0.0f));
drawObjectPBR(models::bed, model, drawObjectPBR(models::bed, model,