14#ifdef JPH_TRACK_NARROWPHASE_STATS
15 #define JPH_IF_TRACK_NARROWPHASE_STATS(...) __VA_ARGS__
17 #define JPH_IF_TRACK_NARROWPHASE_STATS(...)
22#ifdef JPH_TRACK_NARROWPHASE_STATS
42 static NarrowPhaseStat sCollideShape[NumSubShapeTypes][NumSubShapeTypes];
96 if (TrackNarrowPhaseStat::sRoot !=
nullptr)
97 TrackNarrowPhaseStat::sRoot->mStat.mChildTicks +=
delta_ticks;
101 track->mStat.mHitsReported++;
std::uint64_t uint64
Definition Core.h:443
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_CLANG_SUPPRESS_WARNING(w)
Definition Core.h:254
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
#define JPH_ASSERT(...)
Definition IssueReporting.h:33
AllocateFunction Allocate
Definition Memory.cpp:59
EShapeSubType
This enumerates all shape types, each shape can return its type through Shape::GetSubType.
Definition Shape.h:74
JPH_NAMESPACE_BEGIN JPH_INLINE uint64 GetProcessorTickCount()
Functionality to get the processors cycle counter.
Definition TickCounter.h:26