mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
This commit is contained in:
@ -279,7 +279,7 @@ bool IIsClosestAnim(const char *animName, hsMatrix44 &sitGoal, float &closestDis
|
||||
// The first step is to get the transform from the end to the beginning of the
|
||||
// animation. That's what this next line is doing. It's a bit unintuitive
|
||||
// until you look at the parameter definitions.
|
||||
GetStartToEndTransform(anim, nil, &animEndToStart, _TEMP_CONVERT_FROM_LITERAL("Handle"));
|
||||
GetStartToEndTransform(anim, nil, &animEndToStart, "Handle");
|
||||
hsMatrix44 candidateGoal = sitGoal * animEndToStart;
|
||||
hsPoint3 distP = candidateGoal.GetTranslate() - curPosition;
|
||||
hsVector3 distV(distP.fX, distP.fY, distP.fZ);
|
||||
|
Reference in New Issue
Block a user