Jolt Physics
A multi core friendly Game Physics Engine
|
A vertex is a particle, the data in this structure is only used during creation of the soft body and not during simulation. More...
#include <SoftBodySharedSettings.h>
Public Member Functions | |
Vertex ()=default | |
Constructor. | |
Vertex (const Float3 &inPosition, const Float3 &inVelocity=Float3(0, 0, 0), float inInvMass=1.0f) | |
Public Attributes | |
Float3 | mPosition { 0, 0, 0 } |
Initial position of the vertex. | |
Float3 | mVelocity { 0, 0, 0 } |
Initial velocity of the vertex. | |
float | mInvMass = 1.0f |
Initial inverse of the mass of the vertex. | |
A vertex is a particle, the data in this structure is only used during creation of the soft body and not during simulation.
|
default |
Constructor.
|
inline |
float SoftBodySharedSettings::Vertex::mInvMass = 1.0f |
Initial inverse of the mass of the vertex.
Float3 SoftBodySharedSettings::Vertex::mPosition { 0, 0, 0 } |
Initial position of the vertex.
Float3 SoftBodySharedSettings::Vertex::mVelocity { 0, 0, 0 } |
Initial velocity of the vertex.