mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 07:37:02 +00:00
Runtime: Make const/non-const getters have the same name
Makes for a more consistent interface, as getters won't have different names to remember based off whether or not they're const qualified.
This commit is contained in:
@@ -25,7 +25,7 @@ CSpankWeed::CSpankWeed(TUniqueId uid, std::string_view name, const CEntityInfo&
|
||||
if (modelScale.x() != modelScale.y() || modelScale.x() != modelScale.z()) {
|
||||
float scale = modelScale.magnitude() / std::sqrt(3.f);
|
||||
|
||||
ModelData()->SetScale(zeus::CVector3f(scale));
|
||||
GetModelData()->SetScale(zeus::CVector3f(scale));
|
||||
SpankLog.report(logvisor::Level::Warning,
|
||||
fmt("WARNING: Non-uniform scale {} applied to Spank Weed"
|
||||
"...changing scale to ({} {} {})\n"),
|
||||
|
||||
Reference in New Issue
Block a user