CActor: Remove top-level const from GetScaledLocatorTransform() and GetLocatorTransform()

Same behavior, less code.
This commit is contained in:
Lioncash 2020-01-29 01:50:28 -05:00
parent 7b89a165bf
commit edf5511af4
2 changed files with 4 additions and 4 deletions

View File

@ -343,11 +343,11 @@ void CActor::SetVolume(float vol) {
xd4_maxVol = vol; xd4_maxVol = vol;
} }
const zeus::CTransform CActor::GetScaledLocatorTransform(std::string_view segName) const { zeus::CTransform CActor::GetScaledLocatorTransform(std::string_view segName) const {
return x64_modelData->GetScaledLocatorTransform(segName); return x64_modelData->GetScaledLocatorTransform(segName);
} }
const zeus::CTransform CActor::GetLocatorTransform(std::string_view segName) const { zeus::CTransform CActor::GetLocatorTransform(std::string_view segName) const {
return x64_modelData->GetLocatorTransform(segName); return x64_modelData->GetLocatorTransform(segName);
} }

View File

@ -134,8 +134,8 @@ public:
void SetMuted(bool); void SetMuted(bool);
const zeus::CTransform& GetTransform() const { return x34_transform; } const zeus::CTransform& GetTransform() const { return x34_transform; }
const zeus::CVector3f& GetTranslation() const { return x34_transform.origin; } const zeus::CVector3f& GetTranslation() const { return x34_transform.origin; }
const zeus::CTransform GetScaledLocatorTransform(std::string_view segName) const; zeus::CTransform GetScaledLocatorTransform(std::string_view segName) const;
const zeus::CTransform GetLocatorTransform(std::string_view segName) const; zeus::CTransform GetLocatorTransform(std::string_view segName) const;
void RemoveMaterial(EMaterialTypes, EMaterialTypes, EMaterialTypes, EMaterialTypes, CStateManager&); void RemoveMaterial(EMaterialTypes, EMaterialTypes, EMaterialTypes, EMaterialTypes, CStateManager&);
void RemoveMaterial(EMaterialTypes, EMaterialTypes, EMaterialTypes, CStateManager&); void RemoveMaterial(EMaterialTypes, EMaterialTypes, EMaterialTypes, CStateManager&);
void RemoveMaterial(EMaterialTypes, EMaterialTypes, CStateManager&); void RemoveMaterial(EMaterialTypes, EMaterialTypes, CStateManager&);