Fix Quat.equal()

This commit is contained in:
David Rowe 2016-01-26 15:25:34 +13:00
parent f4925d72ed
commit 1bfb941057
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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