warning fixes

This commit is contained in:
Anthony J. Thibault 2017-06-16 18:15:41 -07:00
parent 323dc62ef2
commit 81852cd91c
2 changed files with 0 additions and 6 deletions

View file

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

View file

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