Epok Engine

EPOK RUNTIME

epok::ordered_screen_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

Trivial rejection on packed SXY words, the reference pass's test: true when every corner lies on the same outer side of the viewport, exactly when the corners' bounding box misses it.

Belongs to
epok
Header
ordered_projection.hpp
Overloads
1

Declaration

template
Declaration
template<unsigned Width,unsigned Height> inline bool ordered_screen_outside(const uint32_t* screen,bool quad)

Trivial rejection on packed SXY words, the reference pass's test: true when every corner lies on the same outer side of the viewport, exactly when the corners' bounding box misses it.

ParameterTypeMeaning
screenconst uint32_t *Not documented; consult the linked header.
quadboolNot documented; consult the linked header.

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

Example sketch

C++ example
#include "ordered_projection.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Width, Height

// Assume these named values have been initialized with valid data:
// const uint32_t * screen
// bool quad

auto result = epok::ordered_screen_outside<Width, Height>(screen, quad);

Trade-offs and warnings

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

Declared in runtime/ordered_projection.hpp:48

Related members