Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
Double3 Class Reference

Class that holds 3 doubles. Used as a storage class. Convert to DVec3 for calculations. More...

#include <Double3.h>

Public Member Functions

JPH_OVERRIDE_NEW_DELETE Double3 ()=default
 Intentionally not initialized for performance reasons. More...
 
 Double3 (const Double3 &inRHS)=default
 
Double3operator= (const Double3 &inRHS)=default
 
 Double3 (double inX, double inY, double inZ)
 
double operator[] (int inCoordinate) const
 
bool operator== (const Double3 &inRHS) const
 
bool operator!= (const Double3 &inRHS) const
 

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

Class that holds 3 doubles. Used as a storage class. Convert to DVec3 for calculations.

Constructor & Destructor Documentation

◆ Double3() [1/3]

JPH_OVERRIDE_NEW_DELETE Double3::Double3 ( )
default

Intentionally not initialized for performance reasons.

◆ Double3() [2/3]

Double3::Double3 ( const Double3 inRHS)
default

◆ Double3() [3/3]

Double3::Double3 ( double  inX,
double  inY,
double  inZ 
)
inline

Member Function Documentation

◆ operator!=()

bool Double3::operator!= ( const Double3 inRHS) const
inline

◆ operator=()

Double3 & Double3::operator= ( const Double3 inRHS)
default

◆ operator==()

bool Double3::operator== ( const Double3 inRHS) const
inline

◆ operator[]()

double Double3::operator[] ( int  inCoordinate) const
inline

Member Data Documentation

◆ x

double Double3::x

◆ y

double Double3::y

◆ z

double Double3::z

The documentation for this class was generated from the following file: