Epok Engine

EPOK RUNTIME

epok::atan2_turn12

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 `atan2 turn12` as part of camera selection, projection and shared render resources.

Belongs to
epok
Header
camera_direction.hpp
Overloads
1

Declaration

Declaration
inline uint16_t atan2_turn12(int64_t y,int64_t x)

Performs `atan2 turn12` as part of camera selection, projection and shared render resources.

ParameterTypeMeaning
yint64_tNot documented; consult the linked header.
xint64_tNot documented; consult the linked header.

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

Example sketch

C++ example
#include "camera_direction.hpp"

// Assume these named values have been initialized with valid data:
// int64_t y
// int64_t x

auto result = epok::atan2_turn12(y, x);

Trade-offs and warnings

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

Declared in runtime/camera_direction.hpp:24

Related members