Epok Engine

EPOK RUNTIME

epok::ChunkVisibilityQuery::add_plane

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.

Method

x*local.x + y*local.y + z*local.z + d*4096 >= 0, all in Q12.

Belongs to
epok::ChunkVisibilityQuery
Header
visibility.hpp
Overloads
1

Declaration

Declaration
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.

ParameterTypeMeaning
xint64_tNot documented; consult the linked header.
yint64_tNot documented; consult the linked header.
zint64_tNot documented; consult the linked header.
dint64_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#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);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/visibility.hpp:149

Related members