Volume constraint, keeps the volume of a tetrahedron constant.
More...
#include <SoftBodySharedSettings.h>
Volume constraint, keeps the volume of a tetrahedron constant.
◆ Volume() [1/2]
SoftBodySharedSettings::Volume::Volume |
( |
| ) |
|
|
default |
◆ Volume() [2/2]
SoftBodySharedSettings::Volume::Volume |
( |
uint32 |
inVertex1, |
|
|
uint32 |
inVertex2, |
|
|
uint32 |
inVertex3, |
|
|
uint32 |
inVertex4, |
|
|
float |
inCompliance = 0.0f |
|
) |
| |
|
inline |
◆ GetMinVertexIndex()
uint32 SoftBodySharedSettings::Volume::GetMinVertexIndex |
( |
| ) |
const |
|
inline |
Return the lowest vertex index of this constraint.
◆ mCompliance
float SoftBodySharedSettings::Volume::mCompliance = 0.0f |
Inverse of the stiffness of the constraint.
◆ mSixRestVolume
float SoftBodySharedSettings::Volume::mSixRestVolume = 1.0f |
◆ mVertex
uint32 SoftBodySharedSettings::Volume::mVertex[4] |
Indices of the vertices that form the tetrhedron.
The documentation for this struct was generated from the following file: