Browse Source

Fix compilation of plInterp.

Darryl Pogue 13 years ago
parent
commit
ee01c1f01d
  1. 5
      Sources/Plasma/PubUtilLib/plInterp/plAnimPath.cpp

5
Sources/Plasma/PubUtilLib/plInterp/plAnimPath.cpp

@ -120,7 +120,10 @@ void plAnimPath::SetCurTime(hsScalar t, UInt32 calcFlags)
fVel.Set(pos+1, pos+0);
fVel *= kInvSmallDelTime;
fVel = fLocalToWorld * fVel;
fAccel.Set(&(pos[2] - pos[1]), &(pos[1] - pos[0]));
hsPoint3 first = pos[2] - pos[1];
hsPoint3 second = pos[1] - pos[0];
fAccel.Set(&first, &second);
fAccel *= kInvSmallDelTime * kInvSmallDelTime;
fAccel = fLocalToWorld * fAccel;
}

Loading…
Cancel
Save