25 lines
451 B
C
25 lines
451 B
C
#pragma once
|
|
|
|
#include <emgui/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;
|
|
}
|
|
|