Add SQUARE macro to improve readibility for distances

This commit is contained in:
LagoLunatic
2025-08-08 21:51:30 -04:00
parent b24d8574cd
commit 5802571a56
37 changed files with 107 additions and 106 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ void daKnob00_c::setEventPrm() {
m2C6 = 9;
}
if (!checkArea(80.0f * 80.0f, 110.0 * 110.0f, 250.0f * 250.0f)) {
if (!checkArea(SQUARE(80.0f), SQUARE(110.0f), SQUARE(250.0f))) {
offFlag(4);
} else {
eventInfo.setEventId(mEventIdx[m2C6]);