mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-16 07:31:23 +00:00
22 lines
199 B
C
22 lines
199 B
C
|
|
||
|
#ifndef __util_h__
|
||
|
#define __util_h__
|
||
|
|
||
|
inline int Min(int a, int b)
|
||
|
{
|
||
|
if (a < b)
|
||
|
return a;
|
||
|
else
|
||
|
return b;
|
||
|
}
|
||
|
|
||
|
inline int Max(int a, int b)
|
||
|
{
|
||
|
if (a < b)
|
||
|
return b;
|
||
|
else
|
||
|
return a;
|
||
|
}
|
||
|
|
||
|
#endif
|