Epok Engine

EPOK RUNTIME

epok::character2d::bounded

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

Performs `bounded` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.

Belongs to
epok::character2d
Header
character2d.hpp
Overloads
1

Declaration

Declaration
inline bool bounded(Fixed value,int32_t limit=32768)

Performs `bounded` as part of pixel-unit character commands and derivable actors over the existing 2D body solver.

ParameterTypeMeaning
valueFixedNot documented; consult the linked header.
limitint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "character2d.hpp"

// Assume these named values have been initialized with valid data:
// Fixed value
// int32_t limit

auto result = epok::character2d::bounded(value, limit);

Trade-offs and warnings

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

Declared in runtime/character2d.hpp:20

Related members