mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
warning fixes
This commit is contained in:
parent
f320610681
commit
b8c638b2b7
2 changed files with 0 additions and 3 deletions
|
@ -584,8 +584,6 @@ void AnimInverseKinematics::solveTargetWithCCD(const AnimContext& context, const
|
|||
}
|
||||
|
||||
glm::vec3 p = target.getPoleVector();
|
||||
glm::vec3 pProj = p - glm::dot(p, dUnit) * dUnit;
|
||||
|
||||
const float PROJ_VECTOR_LEN = 10.0f;
|
||||
const float POLE_VECTOR_LEN = 100.0f;
|
||||
glm::vec3 midPoint = (basePose.trans() + topPose.trans()) * 0.5f;
|
||||
|
|
|
@ -1417,7 +1417,6 @@ glm::vec3 Rig::calculateKneePoleVector(int footJointIndex, int kneeIndex, int up
|
|||
|
||||
// form a plane normal to the hips x-axis
|
||||
glm::vec3 n = hipsPose.rot() * Vectors::UNIT_X;
|
||||
glm::vec3 y = hipsPose.rot() * Vectors::UNIT_Y;
|
||||
|
||||
// project d onto this plane
|
||||
glm::vec3 dProj = d - glm::dot(d, n) * n;
|
||||
|
|
Loading…
Reference in a new issue