getCenter method

Vector3 getCenter(
  1. Vector3 target
)

Implementation

Vector3 getCenter(Vector3 target) {
  return target.addVectors(start, end).multiplyScalar(0.5);
}