getCenter method

Vector3 getCenter(
  1. Vector3 result
)

Computes the center point of this AABB and stores it into the given vector.

Implementation

Vector3 getCenter(Vector3 result ) {
	return result.addVectors( min, max ).multiplyScalar( 0.5 );
}