center method

dynamic center()

Implementation

center() {
  computeBoundingBox();

  boundingBox!.getCenter(_geometryoffset).negate();

  translate(_geometryoffset.x, _geometryoffset.y, _geometryoffset.z);

  return this;
}