mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 22:30:42 +02:00
Fix Quat.equal()
This commit is contained in:
parent
f4925d72ed
commit
1bfb941057
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void Quat::print(const QString& lable, const glm::quat& q) {
|
|||
qCDebug(scriptengine) << qPrintable(lable) << q.x << "," << q.y << "," << q.z << "," << q.w;
|
||||
}
|
||||
|
||||
bool Quat::equal(const glm::vec3& q1, const glm::vec3& q2) {
|
||||
bool Quat::equal(const glm::quat& q1, const glm::quat& q2) {
|
||||
return q1 == q2;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public slots:
|
|||
glm::quat squad(const glm::quat& q1, const glm::quat& q2, const glm::quat& s1, const glm::quat& s2, float h);
|
||||
float dot(const glm::quat& q1, const glm::quat& q2);
|
||||
void print(const QString& lable, const glm::quat& q);
|
||||
bool equal(const glm::vec3& q1, const glm::vec3& q2);
|
||||
bool equal(const glm::quat& q1, const glm::quat& q2);
|
||||
};
|
||||
|
||||
#endif // hifi_Quat_h
|
||||
|
|
Loading…
Reference in a new issue