mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
Use new constants
This commit is contained in:
parent
115b63a117
commit
e4897a8de7
1 changed files with 3 additions and 3 deletions
|
@ -64,15 +64,15 @@ glm::quat Quat::inverse(const glm::quat& q) {
|
|||
}
|
||||
|
||||
glm::vec3 Quat::getFront(const glm::quat& orientation) {
|
||||
return orientation * IDENTITY_FRONT;
|
||||
return orientation * Vectors::FRONT;
|
||||
}
|
||||
|
||||
glm::vec3 Quat::getRight(const glm::quat& orientation) {
|
||||
return orientation * IDENTITY_RIGHT;
|
||||
return orientation * Vectors::RIGHT;
|
||||
}
|
||||
|
||||
glm::vec3 Quat::getUp(const glm::quat& orientation) {
|
||||
return orientation * IDENTITY_UP;
|
||||
return orientation * Vectors::UP;
|
||||
}
|
||||
|
||||
glm::vec3 Quat::safeEulerAngles(const glm::quat& orientation) {
|
||||
|
|
Loading…
Reference in a new issue