mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
CRelAngle fix
This commit is contained in:
@@ -195,7 +195,7 @@ float CPASAnimState::ComputePercentErrorWeight(u32 idx, const CPASAnimParm& parm
|
||||
}
|
||||
|
||||
if (range > FLT_EPSILON)
|
||||
return (val / range) - 1.0f;
|
||||
return 1.f - val / range;
|
||||
|
||||
return (val < FLT_EPSILON ? 1.f : 0.f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user