translate method

BufferGeometry translate(
  1. double x,
  2. double y,
  3. double z
)

Translate the geometry by x,y,z. This is typically done as a one time operation, and not during a loop. Use position for typical real-time mesh translation.

Implementation

BufferGeometry translate(double x, double y, double z) {
  // translate geometry
  _bufferGeometrym1.makeTranslation(x, y, z);
  applyMatrix4(_bufferGeometrym1);
  return this;
}