move method

Sp3dFace move(
  1. Sp3dObj parent,
  2. Sp3dV3D v
)

(en)Adds the specified vector to all vectors of this Face.

(ja)この面の全てのベクトルに指定したベクトルを加算します。

  • parent : parent obj.
  • v : vector.

Implementation

Sp3dFace move(Sp3dObj parent, Sp3dV3D v) {
  for (int i in vertexIndexList) {
    parent.vertices[i].add(v);
  }
  return this;
}