init(from:)
Creates a frustum by computing the culling planes for the given camera.
Declaration
init(from camera: LowLevelRenderer.Camera)Parameters
- camera:
The camera whose view volume defines the frustum.
Discussion
Produces up to six outward-facing planes corresponding to the camera’s view volume. For perspective cameras with an infinite far plane, the far plane is omitted, yielding five planes.