Epok Engine

EPOK RUNTIME

epok::chunk_outside

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

Performs `chunk outside` as part of the frustum module.

Belongs to
epok
Header
frustum.hpp
Overloads
1

Declaration

template
Declaration
template<class Frustum=ScreenFrustum<320,240>,class Number=int64_t> inline bool chunk_outside(const int32_t* center,const int32_t* extent,int32_t far)

Performs `chunk outside` as part of the frustum module.

ParameterTypeMeaning
centerconst int32_t *Not documented; consult the linked header.
extentconst int32_t *Not documented; consult the linked header.
farint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "frustum.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Frustum

// Assume these named values have been initialized with valid data:
// const int32_t * center
// const int32_t * extent
// int32_t far

auto result = epok::chunk_outside<Frustum>(center, extent, far);

Trade-offs and warnings

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

Declared in runtime/frustum.hpp:75

Related members