mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 02:17:11 +02:00
whitespace
This commit is contained in:
parent
f68ee4e7ce
commit
ffd374e7d4
2 changed files with 6 additions and 10 deletions
|
@ -52,7 +52,6 @@ AnimSplineIK::AnimSplineIK(const QString& id, float alpha, bool enabled, float i
|
|||
if (i < MAX_NUMBER_FLEX_VARIABLES) {
|
||||
_tipTargetFlexCoefficients[i] = tipTargetFlexCoefficients[i];
|
||||
}
|
||||
|
||||
}
|
||||
_numTipTargetFlexCoefficients = std::min((int)tipTargetFlexCoefficients.size(), MAX_NUMBER_FLEX_VARIABLES);
|
||||
|
||||
|
@ -70,7 +69,6 @@ AnimSplineIK::~AnimSplineIK() {
|
|||
}
|
||||
|
||||
const AnimPoseVec& AnimSplineIK::evaluate(const AnimVariantMap& animVars, const AnimContext& context, float dt, AnimVariantMap& triggersOut) {
|
||||
|
||||
assert(_children.size() == 1);
|
||||
if (_children.size() != 1) {
|
||||
return _poses;
|
||||
|
@ -135,8 +133,6 @@ const AnimPoseVec& AnimSplineIK::evaluate(const AnimVariantMap& animVars, const
|
|||
_poses[_baseJointIndex] = baseParentAbsPose.inverse() * baseTargetAbsolutePose;
|
||||
_poses[_baseJointIndex].scale() = glm::vec3(1.0f);
|
||||
|
||||
|
||||
|
||||
// initialize the middle joint target
|
||||
IKTarget midTarget;
|
||||
midTarget.setType((int)IKTarget::Type::Spline);
|
||||
|
|
Loading…
Reference in a new issue