reverse method

void reverse()

(en)Reverse the orientation of this face. Internally, the order of the referenced indexes is reversed.

(ja)この面の向きを反転します。 内部的には、参照しているインデックスの順序が反転します。

Implementation

void reverse() {
  if (vertexIndexList.length > 2) {
    vertexIndexList = vertexIndexList.reversed.toList();
  }
}