mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
zeus constexpr refactor and thermal visor fixes
This commit is contained in:
@@ -321,28 +321,28 @@ bool CREConstantRange::GetValue(int frame, float& valOut) const {
|
||||
}
|
||||
|
||||
bool CREGetComponentRed::GetValue(int frame, float& valOut) const {
|
||||
zeus::CColor a = zeus::CColor::skBlack;
|
||||
zeus::CColor a = zeus::skBlack;
|
||||
x4_a->GetValue(frame, a);
|
||||
valOut = a.r();
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CREGetComponentGreen::GetValue(int frame, float& valOut) const {
|
||||
zeus::CColor a = zeus::CColor::skBlack;
|
||||
zeus::CColor a = zeus::skBlack;
|
||||
x4_a->GetValue(frame, a);
|
||||
valOut = a.g();
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CREGetComponentBlue::GetValue(int frame, float& valOut) const {
|
||||
zeus::CColor a = zeus::CColor::skBlack;
|
||||
zeus::CColor a = zeus::skBlack;
|
||||
x4_a->GetValue(frame, a);
|
||||
valOut = a.b();
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CREGetComponentAlpha::GetValue(int frame, float& valOut) const {
|
||||
zeus::CColor a = zeus::CColor::skBlack;
|
||||
zeus::CColor a = zeus::skBlack;
|
||||
x4_a->GetValue(frame, a);
|
||||
valOut = a.a();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user