Epok Engine

EPOK RUNTIME

epok::rail_projection

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 `rail projection` as part of the rail navigation module.

Belongs to
epok
Header
rail_navigation.hpp
Overloads
1

Declaration

Declaration
inline int64_t rail_projection(const int32_t* player,const VisibilityTrackSample& sample,const RailParameter& p)

Performs `rail projection` as part of the rail navigation module.

ParameterTypeMeaning
playerconst int32_t *Not documented; consult the linked header.
sampleconst VisibilityTrackSample &Not documented; consult the linked header.
pconst RailParameter &Not documented; consult the linked header.

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

Example sketch

C++ example
#include "rail_navigation.hpp"

// Assume these named values have been initialized with valid data:
// const int32_t * player
// const VisibilityTrackSample & sample
// const RailParameter & p

auto result = epok::rail_projection(player, sample, p);

Trade-offs and warnings

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

Declared in runtime/rail_navigation.hpp:17

Related members