There's a lot of math going on to check for thresholds/limits. I would put those into functions (or macros) to make the condition-checking (if-statements) more readable and make any potential/later changes to them less tedious and error-prone.
« Back to merge proposal
There's a lot of math going on to check for thresholds/limits. I would put those into functions (or macros) to make the condition-checking (if-statements) more readable and make any potential/later changes to them less tedious and error-prone.