placed potPlant
This commit is contained in:
parent
3c7ce34ac4
commit
3fb7803413
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user