getMidpoint method

Vector3 getMidpoint(
  1. Vector3 target
)

Implementation

Vector3 getMidpoint(Vector3 target) {
  return target.addVectors(a, b).add(c).multiplyScalar(1 / 3);
}