mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
warning fixes
This commit is contained in:
parent
323dc62ef2
commit
81852cd91c
2 changed files with 0 additions and 6 deletions
|
@ -565,8 +565,6 @@ void AnimInverseKinematics::solveTargetWithCCD(const AnimContext& context, const
|
|||
glm::vec3 p = target.getPoleVector();
|
||||
glm::vec3 eProj = e - glm::dot(e, dUnit) * dUnit;
|
||||
glm::vec3 pProj = p - glm::dot(p, dUnit) * dUnit;
|
||||
float eProjLen = glm::length(eProj);
|
||||
float pProjLen = glm::length(pProj);
|
||||
|
||||
const float PROJ_VECTOR_LEN = 10.0f;
|
||||
const float POLE_VECTOR_LEN = 100.0f;
|
||||
|
|
|
@ -1140,10 +1140,6 @@ void Rig::updateEyeJoint(int index, const glm::vec3& modelTranslation, const glm
|
|||
}
|
||||
}
|
||||
|
||||
static float easeOutExpo(float t) {
|
||||
return 1.0f - powf(2, -10.0f * t);
|
||||
}
|
||||
|
||||
static glm::quat quatLerp(const glm::quat& q1, const glm::quat& q2, float alpha) {
|
||||
float dot = glm::dot(q1, q2);
|
||||
glm::quat temp;
|
||||
|
|
Loading…
Reference in a new issue