Volume constraint, keeps the volume of a tetrahedron constant.
More...
#include <SoftBodySharedSettings.h>
|
uint32 | mVertex [4] |
| Indices of the vertices that form the tetrhedron.
|
|
float | mSixRestVolume = 1.0f |
| 6 times the rest volume of the tetrahedron
|
|
float | mCompliance = 0.0f |
| Inverse of the stiffness of the constraint.
|
|
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 |
◆ mCompliance
float SoftBodySharedSettings::Volume::mCompliance = 0.0f |
Inverse of the stiffness of the constraint.
◆ mSixRestVolume
float SoftBodySharedSettings::Volume::mSixRestVolume = 1.0f |
6 times the rest volume of the tetrahedron
◆ 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: