30 #ifndef PXFOUNDATION_PXUNIONCAST_H 31 #define PXFOUNDATION_PXUNIONCAST_H 45 #if PX_CLANG && PX_CLANG_MAJOR >= 7 46 #define USE_VOLATILE_UNION volatile 48 #define USE_VOLATILE_UNION 51 template <
class A,
class B>
65 #undef USE_VOLATILE_UNION 73 #endif // PXFOUNDATION_PXUNIONCAST_H Definition: GuContactBuffer.h:37
#define PX_FORCE_INLINE
Definition: PxPreprocessor.h:351
PX_FORCE_INLINE A PxUnionCast(B b)
Definition: PxUnionCast.h:52
#define USE_VOLATILE_UNION
Definition: PxUnionCast.h:48