19#if defined(JPH_USE_AVX)
22#elif defined(JPH_USE_SSE)
25#elif defined(JPH_USE_NEON)
29 using Type =
struct {
double mData[4]; };
134#if defined(JPH_USE_AVX)
136 JPH_INLINE double GetY()
const {
return mF64[1]; }
137 JPH_INLINE double GetZ()
const {
return mF64[2]; }
138#elif defined(JPH_USE_SSE)
140 JPH_INLINE double GetY()
const {
return mF64[1]; }
142#elif defined(JPH_USE_NEON)
275 inline static const double cFalse = 0.0;
std::uint64_t uint64
Definition Core.h:443
unsigned int uint
Definition Core.h:439
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
DVec3 operator*(double inV1, DVec3Arg inV2)
Definition DVec3.inl:447
#define JPH_ASSERT(...)
Definition IssueReporting.h:33
const DVec3 & DVec3Arg
Definition MathTypes.h:24
AllocateFunction Allocate
Definition Memory.cpp:59
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition Memory.h:29
static JPH_INLINE DVec3 sAxisY()
Definition DVec3.h:55
JPH_INLINE DVec3(TypeArg inRHS)
Definition DVec3.h:42
Type mValue
Definition DVec3.h:279
const Type & TypeArg
Definition DVec3.h:30
JPH_INLINE void SetComponent(uint inCoordinate, double inValue)
Set double component by index.
Definition DVec3.h:164
JPH_INLINE void Set(double inX, double inY, double inZ)
Set all components.
Definition DVec3.h:158
static JPH_INLINE DVec3 sAxisX()
Vectors with the principal axis.
Definition DVec3.h:54
JPH_INLINE void SetY(double inY)
Definition DVec3.h:154
JPH_INLINE double GetZ() const
Definition DVec3.h:149
DVec3()=default
Constructor.
static JPH_INLINE DVec3 sAxisZ()
Definition DVec3.h:56
JPH_INLINE DVec3(Vec3Arg inRHS)
JPH_INLINE void SetZ(double inZ)
Definition DVec3.h:155
JPH_INLINE double GetY() const
Definition DVec3.h:148
DVec3(const DVec3 &inRHS)=default
struct { double mData[4];} Type
Definition DVec3.h:29
JPH_INLINE void SetX(double inX)
Set individual components.
Definition DVec3.h:153
JPH_INLINE double GetX() const
Get individual components.
Definition DVec3.h:147
Class that holds 3 doubles. Used as a storage class. Convert to DVec3 for calculations.
Definition Double3.h:13