removed comment and whitespace

This commit is contained in:
amantley 2018-08-23 17:30:03 -07:00
parent 0cc302f68c
commit 884be2f99d

View file

@ -155,18 +155,13 @@ void AnimBlendLinearMove::setFrameAndPhase(float dt, float alpha, int prevPoseIn
float f1 = nextClipNode->getStartFrame() + _phase * n1; float f1 = nextClipNode->getStartFrame() + _phase * n1;
nextClipNode->setCurrentFrame(f1); nextClipNode->setCurrentFrame(f1);
// integrate phase forward in time. // integrate phase forward in time.
_phase += omega * dt; _phase += omega * dt;
qCDebug(animation) << "the _phase is " << _phase << " and omega " << omega << _desiredSpeed;
if (_phase < 0.0f) { if (_phase < 0.0f) {
_phase = 0.0f; // 1.0f + _phase; _phase = 0.0f;
} }
// detect loop trigger events // detect loop trigger events
if (_phase >= 1.0f) { if (_phase >= 1.0f) {
triggersOut.setTrigger(_id + "Loop"); triggersOut.setTrigger(_id + "Loop");