mirror of https://github.com/AxioDL/metaforce.git
CActor: Remove top-level const from GetScaledLocatorTransform() and GetLocatorTransform()
Same behavior, less code.
This commit is contained in:
parent
7b89a165bf
commit
edf5511af4
|
@ -343,11 +343,11 @@ void CActor::SetVolume(float 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);
|
||||
}
|
||||
|
||||
const zeus::CTransform CActor::GetLocatorTransform(std::string_view segName) const {
|
||||
zeus::CTransform CActor::GetLocatorTransform(std::string_view segName) const {
|
||||
return x64_modelData->GetLocatorTransform(segName);
|
||||
}
|
||||
|
||||
|
|
|
@ -134,8 +134,8 @@ public:
|
|||
void SetMuted(bool);
|
||||
const zeus::CTransform& GetTransform() const { return x34_transform; }
|
||||
const zeus::CVector3f& GetTranslation() const { return x34_transform.origin; }
|
||||
const zeus::CTransform GetScaledLocatorTransform(std::string_view segName) const;
|
||||
const zeus::CTransform GetLocatorTransform(std::string_view segName) const;
|
||||
zeus::CTransform GetScaledLocatorTransform(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, CStateManager&);
|
||||
void RemoveMaterial(EMaterialTypes, EMaterialTypes, CStateManager&);
|
||||
|
|
Loading…
Reference in New Issue