mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
One more degree conversion.
This commit is contained in:
parent
6fb313cc43
commit
800be7eef4
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ void BoxSetTool::render() {
|
|||
|
||||
glm::quat rotation = _editor->getGridRotation();
|
||||
glm::vec3 axis = glm::axis(rotation);
|
||||
glRotatef(glm::angle(rotation), axis.x, axis.y, axis.z);
|
||||
glRotatef(glm::degrees(glm::angle(rotation)), axis.x, axis.y, axis.z);
|
||||
|
||||
glm::quat inverseRotation = glm::inverse(rotation);
|
||||
glm::vec3 rayOrigin = inverseRotation * Application::getInstance()->getMouseRayOrigin();
|
||||
|
|
Loading…
Reference in a new issue