Epok Engine

EPOK RUNTIME

epok::character3d::valid

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 `valid` 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 valid(const Tuning& t,const State& state,const CharacterCommand3D& command,Fixed dt)

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

ParameterTypeMeaning
tconst Tuning &Not documented; consult the linked header.
stateconst State &Not documented; consult the linked header.
commandconst CharacterCommand3D &Not documented; consult the linked header.
dtFixedNot 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:
// const Tuning & t
// const State & state
// const CharacterCommand3D & command
// Fixed dt

auto result = epok::character3d::valid(t, state, command, dt);

Trade-offs and warnings

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

Declared in runtime/character3d.hpp:32

Related members