mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 04:34:38 +02:00
removed comment and whitespace
This commit is contained in:
parent
0cc302f68c
commit
884be2f99d
1 changed files with 1 additions and 6 deletions
|
@ -155,18 +155,13 @@ void AnimBlendLinearMove::setFrameAndPhase(float dt, float alpha, int prevPoseIn
|
|||
float f1 = nextClipNode->getStartFrame() + _phase * n1;
|
||||
nextClipNode->setCurrentFrame(f1);
|
||||
|
||||
|
||||
|
||||
// integrate phase forward in time.
|
||||
_phase += omega * dt;
|
||||
|
||||
qCDebug(animation) << "the _phase is " << _phase << " and omega " << omega << _desiredSpeed;
|
||||
|
||||
if (_phase < 0.0f) {
|
||||
_phase = 0.0f; // 1.0f + _phase;
|
||||
_phase = 0.0f;
|
||||
}
|
||||
|
||||
|
||||
// detect loop trigger events
|
||||
if (_phase >= 1.0f) {
|
||||
triggersOut.setTrigger(_id + "Loop");
|
||||
|
|
Loading…
Reference in a new issue