mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 12:46:08 +00:00
CModel: Mark CModelFlag instances as constexpr where applicable
Allows more runtime initializes to potentially be elided.
This commit is contained in:
@@ -162,7 +162,7 @@ void CBeetle::Render(CStateManager& mgr) {
|
||||
x5ac_tailModel->Render(mgr, tailXf, x90_actorLights.get(), flags);
|
||||
}
|
||||
} else if (x5ac_tailModel) {
|
||||
CModelFlags flags(0, 0, 3, zeus::skWhite);
|
||||
constexpr CModelFlags flags(0, 0, 3, zeus::skWhite);
|
||||
x5ac_tailModel->Render(mgr, tailXf, x90_actorLights.get(), flags);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user