getCenter method

Vector3 getCenter(
  1. Vector3 target
)

Implementation

Vector3 getCenter(Vector3 target){
  return target.setFrom(end).add(start).scale( 0.5 );
}