move method

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

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

(ja)このフラグメントの全てのベクトルに指定したベクトルを加算します。

  • parent : parent obj.
  • v : vector.

Implementation

Sp3dFragment move(Sp3dObj parent, Sp3dV3D v) {
  for (Sp3dFace i in faces) {
    i.move(parent, v);
  }
  return this;
}