![]()  | 
  
    Jolt Physics
    
   A multi core friendly Game Physics Engine 
   | 
 
#include <SoftBodySharedSettings.h>
Public Member Functions | |
| DihedralBend ()=default | |
| Constructor.  More... | |
| DihedralBend (uint32 inVertex1, uint32 inVertex2, uint32 inVertex3, uint32 inVertex4, float inCompliance=0.0f) | |
| uint32 | GetMinVertexIndex () const | 
| Return the lowest vertex index of this constraint.  More... | |
Public Attributes | |
| uint32 | mVertex [4] | 
| Indices of the vertices of the 2 triangles that share an edge (the first 2 vertices are the shared edge)  More... | |
| float | mCompliance = 0.0f | 
| Inverse of the stiffness of the constraint.  More... | |
| float | mInitialAngle = 0.0f | 
| Initial angle between the normals of the triangles (pi - dihedral angle).  More... | |
A dihedral bend constraint keeps the angle between two triangles constant along their shared edge.
x2 / \ / t0 \ x0----x1 \ t1 / \ / x3
x0..x3 are the vertices, t0 and t1 are the triangles that share the edge x0..x1
Based on:
      
  | 
  default | 
Constructor.
      
  | 
  inline | 
      
  | 
  inline | 
Return the lowest vertex index of this constraint.
| float SoftBodySharedSettings::DihedralBend::mCompliance = 0.0f | 
Inverse of the stiffness of the constraint.
| float SoftBodySharedSettings::DihedralBend::mInitialAngle = 0.0f | 
Initial angle between the normals of the triangles (pi - dihedral angle).
| uint32 SoftBodySharedSettings::DihedralBend::mVertex[4] | 
Indices of the vertices of the 2 triangles that share an edge (the first 2 vertices are the shared edge)