set method

Sp3dV3D set(
  1. Sp3dV3D v
)

(en)Overwrites the contents of this vector with the contents of the other vector and returns this vector.

(ja)このベクトルの内容を指定したベクトルの内容で上書きし、このベクトルを返します。

Implementation

Sp3dV3D set(Sp3dV3D v) {
  x = v.x;
  y = v.y;
  z = v.z;
  return this;
}