getVertices method

List<Sp3dV3D> getVertices(
  1. Sp3dObj obj
)

(en)Gets the vertices of this face.

(ja)この面の頂点を取得します。

  • obj : The object to which this face belongs.

Implementation

List<Sp3dV3D> getVertices(Sp3dObj obj) {
  List<Sp3dV3D> r = [];
  for (int i in vertexIndexList) {
    r.add(obj.vertices[i]);
  }
  return r;
}