placed potPlant

This commit is contained in:
Aleksander Burkowski 2023-01-31 19:14:27 +01:00
parent 3c7ce34ac4
commit 3fb7803413

View File

@ -384,11 +384,14 @@ void renderScene(GLFWwindow* window)
textures::floorTexture, textures::floorTexture,
0, 0,
0); 0);
//drawObjectPBR(models::potPlant, glm::mat4() * glm::scale(glm::vec3(0.2f)) * glm::translate(glm::vec3(-5.0f, 55.0f, -6.0f)),
// textures::potPlantTexture, model = glm::mat4();
// 1.0f, model = glm::scale(glm::vec3(0.15f)) * glm::translate(glm::vec3(2.3f, 5.0f, -10.6f));
// 0.2f drawObjectPBR(models::potPlant, model,
//); textures::potPlantTexture,
1.0f,
0.2f
);
model = glm::mat4(1.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::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)); model = glm::rotate(model, glm::radians(180.0f), glm::vec3(0, 1, 0));