Epok Engine

EPOK RUNTIME

epok::interpolate_rail_aim_parameters

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 `interpolate rail aim parameters` as part of camera selection, projection and shared render resources.

Belongs to
epok
Header
rail_camera_aim.hpp
Overloads
1

Declaration

Declaration
inline CameraAimParameters interpolate_rail_aim_parameters(const RailAimData& data,uint16_t current,uint16_t next,uint32_t fraction)

Performs `interpolate rail aim parameters` as part of camera selection, projection and shared render resources.

ParameterTypeMeaning
dataconst RailAimData &Not documented; consult the linked header.
currentuint16_tNot documented; consult the linked header.
nextuint16_tNot documented; consult the linked header.
fractionuint32_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "rail_camera_aim.hpp"

// Assume these named values have been initialized with valid data:
// const RailAimData & data
// uint16_t current
// uint16_t next
// uint32_t fraction

auto result = epok::interpolate_rail_aim_parameters(data, current, next, fraction);

Trade-offs and warnings

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

Declared in runtime/rail_camera_aim.hpp:17

Related members