diff --git a/src/ex_9_1.hpp b/src/ex_9_1.hpp index d3c9123..87f6b3d 100644 --- a/src/ex_9_1.hpp +++ b/src/ex_9_1.hpp @@ -384,11 +384,14 @@ void renderScene(GLFWwindow* window) textures::floorTexture, 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, - // 1.0f, - // 0.2f - //); + + model = glm::mat4(); + model = glm::scale(glm::vec3(0.15f)) * glm::translate(glm::vec3(2.3f, 5.0f, -10.6f)); + drawObjectPBR(models::potPlant, model, + textures::potPlantTexture, + 1.0f, + 0.2f + ); 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));