Epok Engine

EPOK RUNTIME

epok::character3d::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 shared world-unit character commands, collision locomotion and motion samples.

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

Declaration

Declaration
inline bool bounded(Fixed value,int32_t maximum)

Performs `bounded` as part of shared world-unit character commands, collision locomotion and motion samples.

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

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

Example sketch

C++ example
#include "character3d.hpp"

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

auto result = epok::character3d::bounded(value, maximum);

Trade-offs and warnings

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

Declared in runtime/character3d.hpp:31

Related members