Skip to content

frustumIntersectsSphere

frustumIntersectsSphere(frustum, center, radius): boolean

Defined in: src/modules/camera-3d/frustum.ts:57

True unless the sphere lies wholly outside one of the planes. Conservative: a sphere just beyond a frustum corner can report true — the usual trade for a six-test cull, and safe, since it only ever keeps too much.

Frustum

Vec3

number

boolean