Sun, 26 Jan 2020 01:06:27 +0200
fix default angle
src/gl/partrenderer.cpp | file | annotate | diff | comparison | revisions |
--- a/src/gl/partrenderer.cpp Sun Jan 26 00:55:36 2020 +0200 +++ b/src/gl/partrenderer.cpp Sun Jan 26 01:06:27 2020 +0200 @@ -48,8 +48,8 @@ this->compiler->build(this->model, this->documents); this->initializeLighting(); this->initialized = true; - this->modelQuaternion = glm::angleAxis(glm::radians(30.0f), glm::vec3{1, 0, 0}); - this->modelQuaternion *= glm::angleAxis(glm::radians(330.0f), glm::vec3{0, 1, 0}); + this->modelQuaternion = glm::angleAxis(glm::radians(30.0f), glm::vec3{-1, 0, 0}); + this->modelQuaternion *= glm::angleAxis(glm::radians(225.0f), glm::vec3{-0, 1, 0}); this->updateViewMatrix(); glLineWidth(2.0); this->update();