8#ifdef JPH_ENABLE_DETERMINISM_LOG
37 mLog.open(
"detlog.txt", std::ios::out | std::ios::trunc | std::ios::binary);
61 mLog << std::hex << std::setw(8) <<
inValue.GetIndexAndSequenceNumber();
67 mLog << std::hex << std::setw(8) <<
inValue.GetValue();
73 mLog << std::hex << std::setw(8) << Convert(
inValue);
97 mLog << std::hex << std::setw(8) << Convert(
inValue.GetX()) <<
" " << std::setw(8) << Convert(
inValue.GetY()) <<
" " << std::setw(8) << Convert(
inValue.GetZ());
103 mLog << std::hex << std::setw(16) << Convert(
inValue.GetX()) <<
" " << std::setw(16) << Convert(
inValue.GetY()) <<
" " << std::setw(16) << Convert(
inValue.GetZ());
109 mLog << std::hex << std::setw(8) << Convert(
inValue.GetX()) <<
" " << std::setw(8) << Convert(
inValue.GetY()) <<
" " << std::setw(8) << Convert(
inValue.GetZ()) <<
" " << std::setw(8) << Convert(
inValue.GetW());
115 mLog << std::hex << std::setw(8) << Convert(
inValue.x) <<
" " << std::setw(8) << Convert(
inValue.y) <<
" " << std::setw(8) << Convert(
inValue.z);
145#define JPH_DET_LOG(...) DeterminismLog::sLog << __VA_ARGS__ << '\n'
155#define JPH_DET_LOG(...)
#define JPH_SUPPRESS_WARNINGS
Definition Core.h:282
#define JPH_SUPPRESS_WARNINGS_STD_BEGIN
Definition Core.h:372
#define JPH_SUPPRESS_WARNINGS_STD_END
Definition Core.h:384
std::uint64_t uint64
Definition Core.h:443
#define JPH_NAMESPACE_END
Definition Core.h:367
std::uint32_t uint32
Definition Core.h:442
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
AllocateFunction Allocate
Definition Memory.cpp:59
ID of a body. This is a way of reasoning about bodies in a multithreaded simulation while avoiding ra...
Definition BodyID.h:13
Holds a 4x4 matrix of floats with the last column consisting of doubles.
Definition DMat44.h:13
Class that holds 3 floats. Used as a storage class. Convert to Vec3 for calculations.
Definition Float3.h:13
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition Mat44.h:13
A sub shape id contains a path to an element (usually a triangle or other primitive type) of a compou...
Definition SubShapeID.h:23