Files
Project-Reboot-3.0/Project Reboot 3.0/UnrealMathUtility.h
2023-04-05 07:55:28 -04:00

12 lines
224 B
C++

#pragma once
#include "GenericPlatformMath.h"
struct FMath : public FPlatformMath
{
template< class T >
static FORCEINLINE T Clamp(const T X, const T Min, const T Max)
{
return X < Min ? Min : X < Max ? X : Max;
}
};