Jolt Physics
A multi core friendly Game Physics Engine
|
A face defines the surface of the body. More...
#include <SoftBodySharedSettings.h>
Public Member Functions | |
Face ()=default | |
Constructor. More... | |
Face (uint32 inVertex1, uint32 inVertex2, uint32 inVertex3, uint32 inMaterialIndex=0) | |
bool | IsDegenerate () const |
Check if this is a degenerate face (a face which points to the same vertex twice) More... | |
Public Attributes | |
uint32 | mVertex [3] |
Indices of the vertices that form the face. More... | |
uint32 | mMaterialIndex = 0 |
Index of the material of the face in SoftBodySharedSettings::mMaterials. More... | |
A face defines the surface of the body.
|
default |
Constructor.
|
inline |
|
inline |
Check if this is a degenerate face (a face which points to the same vertex twice)
uint32 SoftBodySharedSettings::Face::mMaterialIndex = 0 |
Index of the material of the face in SoftBodySharedSettings::mMaterials.
uint32 SoftBodySharedSettings::Face::mVertex[3] |
Indices of the vertices that form the face.