src/gl/partrenderer.cpp

changeset 32
767592024ec5
parent 31
b6df269a2c6b
child 34
1de2b8d64e9f
--- 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();

mercurial