25 lines
445 B
C
25 lines
445 B
C
#pragma once
|
|
|
|
#include "Types.h"
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
static EMGUI_INLINE int maxi(int a, int b)
|
|
{
|
|
if (a > b)
|
|
return a;
|
|
|
|
return b;
|
|
}
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
static EMGUI_INLINE int mini(int a, int b)
|
|
{
|
|
if (a < b)
|
|
return a;
|
|
|
|
return b;
|
|
}
|
|
|