diff -r 06a1aef170aa -r 165777a20dc7 src/ui/canvas.cpp --- a/src/ui/canvas.cpp Thu Nov 05 14:29:58 2020 +0200 +++ b/src/ui/canvas.cpp Sun Jan 10 15:28:44 2021 +0200 @@ -69,12 +69,12 @@ if (angle_x < angle_y) { this->newStatusText("rotate by X axis"); - this->gridMatrix = glm::rotate(this->gridMatrix, PIf / 2, glm::vec3{1, 0, 0}); + this->gridMatrix = glm::rotate(this->gridMatrix, PI / 2, glm::vec3{1, 0, 0}); } else { this->newStatusText("rotate by Y axis"); - this->gridMatrix = glm::rotate(this->gridMatrix, PIf / 2, glm::vec3{0, 1, 0}); + this->gridMatrix = glm::rotate(this->gridMatrix, PI / 2, glm::vec3{0, 1, 0}); } this->updateGridMatrix(); this->update();