mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix compilation of plInterp.
This commit is contained in:
@ -120,7 +120,10 @@ void plAnimPath::SetCurTime(hsScalar t, UInt32 calcFlags)
|
|||||||
fVel.Set(pos+1, pos+0);
|
fVel.Set(pos+1, pos+0);
|
||||||
fVel *= kInvSmallDelTime;
|
fVel *= kInvSmallDelTime;
|
||||||
fVel = fLocalToWorld * fVel;
|
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 *= kInvSmallDelTime * kInvSmallDelTime;
|
||||||
fAccel = fLocalToWorld * fAccel;
|
fAccel = fLocalToWorld * fAccel;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user