mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:33:45 +02:00
warning fixes: removed unused variable.
This commit is contained in:
parent
4e4ac6c54d
commit
983e1fe075
1 changed files with 0 additions and 4 deletions
|
@ -649,7 +649,6 @@ void AnimInverseKinematics::solveTargetWithCCD(const AnimContext& context, const
|
|||
glm::vec3 dUnit = d / dLen;
|
||||
glm::vec3 e = midPose.xformVector(target.getPoleReferenceVector());
|
||||
|
||||
|
||||
// if mid joint is straight use the reference vector to compute eProj, otherwise use reference vector.
|
||||
// however if mid joint angle is in between the two blend between both solutions.
|
||||
vec3 u = normalize(basePose.trans() - midPose.trans());
|
||||
|
@ -671,9 +670,6 @@ void AnimInverseKinematics::solveTargetWithCCD(const AnimContext& context, const
|
|||
eColor = YELLOW;
|
||||
}
|
||||
|
||||
glm::vec3 eProj = e - glm::dot(e, dUnit) * dUnit;
|
||||
float eProjLen = glm::length(eProj);
|
||||
|
||||
glm::vec3 p = target.getPoleVector();
|
||||
const float PROJ_VECTOR_LEN = 10.0f;
|
||||
const float POLE_VECTOR_LEN = 100.0f;
|
||||
|
|
Loading…
Reference in a new issue