Epok Engine

EPOK RUNTIME

epok::load_projection_screen

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

H is the pixel focal length shared by both axes; offsets are the screen centre.

Belongs to
epok
Header
gte_geometry.hpp
Overloads
1

Declaration

Declaration
inline void load_projection_screen(int32_t focal,int32_t centre_x,int32_t centre_y)

H is the pixel focal length shared by both axes; offsets are the screen centre.

ParameterTypeMeaning
focalint32_tNot documented; consult the linked header.
centre_xint32_tNot documented; consult the linked header.
centre_yint32_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "gte_geometry.hpp"

// Assume these named values have been initialized with valid data:
// int32_t focal
// int32_t centre_x
// int32_t centre_y

epok::load_projection_screen(focal, centre_x, centre_y);

Trade-offs and warnings

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

Declared in runtime/gte_geometry.hpp:74

Related members