EPOK RUNTIME
Frustum
frustum.hpp · the frustum module
Module
the frustum module.
Include this module
C++ include
#include "frustum.hpp"Types
This module does not declare public types.
Functions and methods
chunk_bounds_isolated_xDetect once per object.Functionfrustum_outcodePerforms `frustum outcode` as part of the frustum module.Functionfrustum_outcode_unitsSame six half-spaces as the polygon clipper, before perspective division.Function templatefrustum_outcode32Plain 32-bit variant for inputs bounded by 2^27 in magnitude (the GTE projection path guarantees this); 3z+4y then cannot overflow.Function templategpu_clip_safeThe GPU clips pixels to its drawing area, but rejects primitives with spans >1023 horizontally or >511 vertically.Function templatenarrow_chunk_boundsPerforms `narrow chunk bounds` as part of the frustum module.FunctionFields, variables and values
This module does not declare public data symbols.