move method

Sp3dObj move(
  1. Sp3dV3D v
)

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

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

  • v : vector.

Implementation

Sp3dObj move(Sp3dV3D v) {
  for (Sp3dV3D i in vertices) {
    i.add(v);
  }
  return this;
}