Epok Engine

EPOK RUNTIME

epok::checked_compact_projection_input

Function · 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.

Function

Per-vertex form for a block whose bounds do not all fit: `sum` is the block center plus the lattice offset.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

Declaration
inline bool checked_compact_projection_input(const uint8_t* entry,const int32_t* sum,GteProjectionInput& out)

Per-vertex form for a block whose bounds do not all fit: `sum` is the block center plus the lattice offset.

ParameterTypeMeaning
entryconst uint8_t *Not documented; consult the linked header.
sumconst int32_t *Not documented; consult the linked header.
outGteProjectionInput &Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "gte_geometry.hpp"

// Assume these named values have been initialized with valid data:
// const uint8_t * entry
// const int32_t * sum
// GteProjectionInput & out

auto result = epok::checked_compact_projection_input(entry, sum, out);

Trade-offs and warnings

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

Declared in runtime/gte_geometry.hpp:172

Related members