Minor CActor/CModelData fixes, add matching CActor::UpdateAnimation

Former-commit-id: 8e90988b5c
This commit is contained in:
2022-08-14 22:50:25 -07:00
parent 94e27faee8
commit 9675db47b4
3 changed files with 12 additions and 11 deletions

View File

@@ -41,7 +41,8 @@ public:
SAdvancementDeltas AdvanceAnimation(float dt, CStateManager& mgr, TAreaId aid, bool advTree);
void AdvanceParticles(const CTransform4f& xf, float dt, CStateManager& mgr);
CAnimData* GetAnimationData() const { return xc_animData.get(); }
const CAnimData* GetAnimationData() const { return xc_animData.get(); }
CAnimData* AnimationData() { return xc_animData.get(); }
CAABox GetBounds(const CTransform4f& xf) const;
CAABox GetBounds() const;
@@ -63,4 +64,4 @@ private:
rstl::optional_object< TCachedToken< CModel > > x3c_infraModel;
};
#endif
#endif