copyCenter method

void copyCenter (Vector3 center)

Copy the center of this.

Implementation

void copyCenter(Vector3 center) {
  center
    ..setFrom(_min)
    ..add(_max)
    ..scale(0.5);
}