sprint 1-alpha
|
implements minmax macros for system without them More...
Go to the source code of this file.
Defines | |
#define | max(a, b) ((a) > (b) ? (a):(b) ) |
max | |
#define | min(a, b) ((a) < (b) ? (a):(b) ) |
min | |
#define | nint(a) ((a) > 0 ? ((a) + 0.5f):((a) - 0.5f)) |
#define | clamp(a, amin, amax) ((a)<(amin) ? (amin):((a)>(amax) ? (amax):(a))) |
implements minmax macros for system without them