Add #ifdef declarations for NON_MATCHING code

This commit is contained in:
AlexApps99
2021-07-26 21:58:51 +12:00
parent 88bcc9eec1
commit 42807160cf
55 changed files with 274 additions and 95 deletions
+3 -1
View File
@@ -57,10 +57,12 @@ VFRVec3f::VFRVec3f() : value{0, 0, 0}, prev_value{0, 0, 0}, mean{0, 0, 0} {}
VFRVec3f::VFRVec3f(const sead::Vector3f& value) : value{value}, prev_value{value}, mean{value} {}
// NON_MATCHING: float regalloc
// float regalloc
#ifdef NON_MATCHING
void VFRVec3f::updateStats() {
updateStatsImpl(value, &prev_value, &mean);
}
#endif
void VFRVec3f::operator*=(f32 scalar) {
VFR::multiply(&value, scalar);