Define min and max

main
Cameron Murphy Reikes 2 years ago
parent d190594b38
commit 60cb8661aa

@ -703,3 +703,6 @@ static inline double deg2rad(double deg)
{ {
return (deg / 360.0f) * 2.0f * PI; return (deg / 360.0f) * 2.0f * PI;
} }
#define min(X,Y) (((X) < (Y)) ? (X) : (Y))
#define max(X,Y) (((X) > (Y)) ? (X) : (Y))
Loading…
Cancel
Save