// Copyright (c) 2021 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #define mathMod(a,b) (a%b+b)%b #define mathMax(a,b) (ab?b:a) #define mathAbs(n) (n<0?-n:n)