add method

void add(
  1. Sp3dObj obj,
  2. Sp3dV3D coordinate
)

(en)Places the object at the specified coordinates in the world.

(ja)ワールド内の指定座標にオブジェクトを設置します。

  • obj : target obj.
  • coordinate : paste position.

Implementation

void add(Sp3dObj obj, Sp3dV3D coordinate) {
  objs.add(obj.move(coordinate));
}