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

Class that holds 4 float values. Convert to Vec4 to perform calculations. More...

#include <Float4.h>

Public Member Functions

JPH_OVERRIDE_NEW_DELETE Float4 ()=default
 Intentionally not initialized for performance reasons.
 
 Float4 (const Float4 &inRHS)=default
 
 Float4 (float inX, float inY, float inZ, float inW)
 
float operator[] (int inCoordinate) const
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Detailed Description

Class that holds 4 float values. Convert to Vec4 to perform calculations.

Constructor & Destructor Documentation

◆ Float4() [1/3]

JPH_OVERRIDE_NEW_DELETE Float4::Float4 ( )
default

Intentionally not initialized for performance reasons.

◆ Float4() [2/3]

Float4::Float4 ( const Float4 inRHS)
default

◆ Float4() [3/3]

Float4::Float4 ( float  inX,
float  inY,
float  inZ,
float  inW 
)
inline

Member Function Documentation

◆ operator[]()

float Float4::operator[] ( int  inCoordinate) const
inline

Member Data Documentation

◆ w

float Float4::w

◆ x

float Float4::x

◆ y

float Float4::y

◆ z

float Float4::z

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