Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
LargeWorldCoordinates.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UE_DECLARE_LWC_TYPE_EX(TYPE, CC, DEFAULT_TYPENAME, COMPONENT_TYPE)
 
#define UE_DECLARE_LWC_TYPE_3(TYPE, DIM, UE_TYPENAME)   UE_DECLARE_LWC_TYPE_EX(TYPE, DIM, UE_TYPENAME, double)
 
#define UE_DECLARE_LWC_TYPE_2(TYPE, DIM)   UE_DECLARE_LWC_TYPE_3(TYPE, DIM, F##TYPE)
 
#define UE_DECLARE_LWC_TYPE_1(TYPE)   UE_DECLARE_LWC_TYPE_2(TYPE,)
 
#define FORCE_EXPAND(X)   X
 
#define UE_LWC_MACRO_SELECT(PAD1, PAD2, PAD3, PAD4, MACRO, ...)   MACRO
 
#define UE_DECLARE_LWC_TYPE_SELECT(...)   FORCE_EXPAND(UE_LWC_MACRO_SELECT(__VA_ARGS__, UE_DECLARE_LWC_TYPE_EX, UE_DECLARE_LWC_TYPE_3, UE_DECLARE_LWC_TYPE_2, UE_DECLARE_LWC_TYPE_1 ))
 
#define UE_DECLARE_LWC_TYPE(...)   FORCE_EXPAND(UE_DECLARE_LWC_TYPE_SELECT(__VA_ARGS__)(__VA_ARGS__))
 
#define UE_REAL_TO_FLOAT(argument)   static_cast<float>(argument)
 
#define UE_REAL_TO_FLOAT_CLAMPED_MAX(argument)   static_cast<float>(FMath::Min(argument, (FVector::FReal)TNumericLimits<float>::Max()))
 
#define UE_REAL_TO_FLOAT_CLAMPED(argument)   static_cast<float>(FMath::Clamp(argument, (FVector::FReal)TNumericLimits<float>::Lowest(), (FVector::FReal)TNumericLimits<float>::Max()))
 

Macro Definition Documentation

◆ FORCE_EXPAND

#define FORCE_EXPAND ( X)    X

Definition at line 22 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE

Definition at line 27 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE_1

#define UE_DECLARE_LWC_TYPE_1 ( TYPE)    UE_DECLARE_LWC_TYPE_2(TYPE,)

Definition at line 19 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE_2

#define UE_DECLARE_LWC_TYPE_2 ( TYPE,
DIM )   UE_DECLARE_LWC_TYPE_3(TYPE, DIM, F##TYPE)

Definition at line 18 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE_3

#define UE_DECLARE_LWC_TYPE_3 ( TYPE,
DIM,
UE_TYPENAME )   UE_DECLARE_LWC_TYPE_EX(TYPE, DIM, UE_TYPENAME, double)

Definition at line 17 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE_EX

#define UE_DECLARE_LWC_TYPE_EX ( TYPE,
CC,
DEFAULT_TYPENAME,
COMPONENT_TYPE )
Value:
namespace UE { namespace Math { template<typename T> struct T##TYPE; } } \
typedef UE::Math::T##TYPE<float> F##TYPE##CC##f; /* FVector3f */ \
typedef UE::Math::T##TYPE<double> F##TYPE##CC##d; /* FVector3d */ \
typedef UE::Math::T##TYPE<COMPONENT_TYPE> DEFAULT_TYPENAME; /* FVector */ \
namespace ispc { struct DEFAULT_TYPENAME; } /* ISPC forward declaration */
Definition Vector.h:40
Definition MathFwd.h:36

Definition at line 6 of file LargeWorldCoordinates.h.

◆ UE_DECLARE_LWC_TYPE_SELECT

◆ UE_LWC_MACRO_SELECT

#define UE_LWC_MACRO_SELECT ( PAD1,
PAD2,
PAD3,
PAD4,
MACRO,
... )   MACRO

Definition at line 23 of file LargeWorldCoordinates.h.

◆ UE_REAL_TO_FLOAT

#define UE_REAL_TO_FLOAT ( argument)    static_cast<float>(argument)

Definition at line 30 of file LargeWorldCoordinates.h.

◆ UE_REAL_TO_FLOAT_CLAMPED

◆ UE_REAL_TO_FLOAT_CLAMPED_MAX

Definition at line 33 of file LargeWorldCoordinates.h.