Add high res model

This commit is contained in:
4VRDriver
2020-09-04 22:10:47 +02:00
parent 0c930a9892
commit 53efe08002

View File

@@ -111,7 +111,7 @@ void Controller::run() {
// Update game // Update game
// ... // ...
shaderProgram.setUniform("mix_val", (float) (sin(glfwGetTime()*0.25)*sin(glfwGetTime()*0.25))); shaderProgram.setUniform("mix_val", (float) (sin(glfwGetTime()*0.25)*sin(glfwGetTime()*0.25)));
model = glm::rotate(model, (float)(this->deltaTime*0.005), glm::vec3(0.0f, 1.0f, 0.0f)); //model = glm::rotate(model, (float)(this->deltaTime*0.005), glm::vec3(0.0f, 1.0f, 0.0f));
//camera->lookAtTarget(glm::vec3(0.0f, 0.0f, 0.0f)); //camera->lookAtTarget(glm::vec3(0.0f, 0.0f, 0.0f));
camera->lookForward(); camera->lookForward();