mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 04:06:09 +00:00
Implement body state classes
This commit is contained in:
@@ -504,4 +504,11 @@ void CActor::SetCalculateLighting(bool c)
|
||||
4, 4, false, false, false, 0.1f);
|
||||
xe4_31_lightsDirty = c;
|
||||
}
|
||||
|
||||
float CActor::GetAverageAnimVelocity(int anim) const
|
||||
{
|
||||
if (HasModelData() && GetModelData()->HasAnimData())
|
||||
return GetModelData()->GetAnimationData()->GetAverageVelocity(anim);
|
||||
return 0.f;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user