internal void reset() { m_degenerate = false; setBarycentricCoordinates(); m_usedVertices = 0;//.reset(); }
public void reduceVertices( btUsageBitfield usedVerts ) { if( ( m_numVertices >= 4 ) && ( usedVerts & btUsageBitfield.usedVertexD ) == 0 ) removeVertex( 3 ); if( ( m_numVertices >= 3 ) && ( usedVerts & btUsageBitfield.usedVertexC ) == 0 ) removeVertex( 2 ); if( ( m_numVertices >= 2 ) && ( usedVerts & btUsageBitfield.usedVertexB ) == 0 ) removeVertex( 1 ); if( ( m_numVertices >= 1 ) && ( usedVerts & btUsageBitfield.usedVertexA ) == 0 ) removeVertex( 0 ); }