sprint 1-alpha
Defines
sprint/minmax.h File Reference

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)))

Detailed Description

implements minmax macros for system without them

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines