getCenter method

Vector3 getCenter(
  1. Vector3 target
)

Implementation

Vector3 getCenter(Vector3 target){
  return target.copy(end).add(start).multiplyScalar( 0.5 );
}