Epok Engine

EPOK RUNTIME

epok::closed_cube_faces

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

Default cube face numbers: -Z,+Z,-X,+X,+Y,-Y.

Belongs to
epok
Header
frustum.hpp
Overloads
1

Declaration

Declaration
inline uint8_t closed_cube_faces(const int32_t basis[3][3],const int32_t* position,const int32_t* camera)

Default cube face numbers: -Z,+Z,-X,+X,+Y,-Y.

ParameterTypeMeaning
basisconst int32_t[3][3]Not documented; consult the linked header.
positionconst int32_t *Not documented; consult the linked header.
cameraconst int32_t *Not documented; consult the linked header.

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

Example sketch

C++ example
#include "frustum.hpp"

// Assume these named values have been initialized with valid data:
// const int32_t[3][3] basis
// const int32_t * position
// const int32_t * camera

auto result = epok::closed_cube_faces(basis, position, camera);

Trade-offs and warnings

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

Declared in runtime/frustum.hpp:8

Related members