# HG changeset patch # User Teemu Piippo # Date 1579993587 -7200 # Node ID 767592024ec5053c6ece77c2f8aae97152249312 # Parent b6df269a2c6bb9b99a90c8f7521165657fc48838 fix default angle diff -r b6df269a2c6b -r 767592024ec5 src/gl/partrenderer.cpp --- 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();