mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:54:25 +02:00
commit
81b04f2e75
2 changed files with 5 additions and 5 deletions
|
@ -113,11 +113,11 @@ float Quat::dot(const glm::quat& q1, const glm::quat& q2) {
|
|||
return glm::dot(q1, q2);
|
||||
}
|
||||
|
||||
void Quat::print(const QString& lable, const glm::quat& q) {
|
||||
qCDebug(scriptengine) << qPrintable(lable) << q.x << "," << q.y << "," << q.z << "," << q.w;
|
||||
void Quat::print(const QString& label, const glm::quat& q) {
|
||||
qCDebug(scriptengine) << qPrintable(label) << 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;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,8 +46,8 @@ public slots:
|
|||
glm::quat slerp(const glm::quat& q1, const glm::quat& q2, float alpha);
|
||||
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);
|
||||
void print(const QString& label, const glm::quat& q);
|
||||
bool equal(const glm::quat& q1, const glm::quat& q2);
|
||||
};
|
||||
|
||||
#endif // hifi_Quat_h
|
||||
|
|
Loading…
Reference in a new issue