mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
it kinda work
This commit is contained in:
12
Project Reboot 3.0/UnrealMathUtility.h
Normal file
12
Project Reboot 3.0/UnrealMathUtility.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user