Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
x*local.x + y*local.y + z*local.z + d*4096 >= 0, all in Q12.
void add_plane(int64_t x,int64_t y,int64_t z,int64_t d)x*local.x + y*local.y + z*local.z + d*4096 >= 0, all in Q12.
| Parameter | Type | Meaning |
|---|---|---|
x | int64_t | Not documented; consult the linked header. |
y | int64_t | Not documented; consult the linked header. |
z | int64_t | Not documented; consult the linked header. |
d | int64_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "visibility.hpp"
// Assume these named values have been initialized with valid data:
// int64_t x
// int64_t y
// int64_t z
// int64_t d
epok::ChunkVisibilityQuery& object = /* obtain a valid instance */;
object.add_plane(x, y, z, d);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/visibility.hpp:149
basis_cache_activePerforms `basis cache active` as part of frustum tests and chunk visibility.Methodbounds_cache_activePerforms `bounds cache active` as part of frustum tests and chunk visibility.Methodcached_basis_boundsPerforms `cached basis bounds` as part of frustum tests and chunk visibility.Methodcached_boundsPerforms `cached bounds` as part of frustum tests and chunk visibility.Methodcached_insidePerforms `cached inside` as part of frustum tests and chunk visibility.MethodcandidatePerforms `candidate` as part of frustum tests and chunk visibility.MethodChunkVisibilityQueryConstructs `epok::ChunkVisibilityQuery` for frustum tests and chunk visibility.constructormergedPerforms `merged` as part of frustum tests and chunk visibility.Methodmerged_maskGenerated metadata always supplies a cache.Methodremember_basis_boundsPerforms `remember basis bounds` as part of frustum tests and chunk visibility.Methodremember_boundsPerforms `remember bounds` as part of frustum tests and chunk visibility.Methodreuse_matrixCompare the source matrix before constructing its five derived planes.Method