computeHorizonCullingPointFromVertices
Computes a point that can be used for horizon culling from a list of positions. If the point is below the horizon, all of the positions are guaranteed to be below the horizon as well. The returned point is expressed in the ellipsoid-scaled space and is suitable for use with EllipsoidalOccluder.isScaledSpacePointVisible.
Return
The computed horizon culling point, expressed in the ellipsoid-scaled space.
Parameters
The direction that the computed point will lie along. A reasonable direction to use is the direction from the center of the ellipsoid to the center of the bounding sphere computed from the positions. The direction need not be normalized.
The vertices from which to compute the horizon culling point. The positions must be expressed in a reference frame centered at the ellipsoid and aligned with the ellipsoid's axes.
The instance on which to store the result instead of allocating a new instance.