reverseFt method

void reverseFt()

(en)Reverse the orientation of this face. Internally, the order of 3D vectors except the beginning is reversed.

(ja)この面の向きを反転します。内部では先頭を除く3Dベクトルの順番が反転します。

Implementation

void reverseFt() {
  if (vertexIndexList.length > 2) {
    List<int> nl = [];
    nl.add(vertexIndexList.removeAt(0));
    nl.addAll(vertexIndexList.reversed);
    vertexIndexList = nl;
  }
}