Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef APEX_DEFS_H
00013 #define APEX_DEFS_H
00014
00023 #include "PhysXSDKVersion.h"
00024
00049 #include "foundation/PxPreprocessor.h"
00050
00051 #define APEX_SDK_VERSION 1
00052 #define APEX_SDK_RELEASE 0x01040000
00053
00054 #if USE_RTTI
00055 #define DYNAMIC_CAST(type) dynamic_cast<type>
00056 #else
00057 #define DYNAMIC_CAST(type) static_cast<type>
00058 #endif
00059
00061 #if defined(EXCLUDE_CUDA) && (EXCLUDE_CUDA > 0)
00062 #define APEX_CUDA_SUPPORT 0
00063 #else
00064 #define APEX_CUDA_SUPPORT (PX_SUPPORT_GPU_PHYSX) && !(PX_LINUX)
00065 #endif
00066
00068 #if !defined(EXCLUDE_PARTICLES) && PX_WINDOWS
00069 #define APEX_USE_PARTICLES 1
00070 #else
00071 #define APEX_USE_PARTICLES 0
00072 #endif
00073
00075 #ifndef APEX_UE4
00076 #define APEX_UE4 0
00077 #endif
00078
00079
00080 #define APEX_DEFAULT_NO_INTEROP_IMPLEMENTATION 1
00081
00082
00083 #endif // APEX_DEFS_H