center method

void center({
  1. Vector3 mask = const Vector3(1, 1, 1),
})

Implementation

void center({Vector3 mask = const Vector3(1, 1, 1)}) {
  shift(getCenter() * mask * -1);
}