Epok Engine

EPOK RUNTIME

epok::skeletal_detail::aim_pitch_matrix

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

A small-angle quaternion approximation keeps additive aiming deterministic on host and MIPS without introducing a per-character trigonometry service.

Belongs to
epok::skeletal_detail
Header
skeletal.hpp
Overloads
1

Declaration

Declaration
inline Affine<Fixed> aim_pitch_matrix(Fixed degrees)

A small-angle quaternion approximation keeps additive aiming deterministic on host and MIPS without introducing a per-character trigonometry service.

ParameterTypeMeaning
degreesFixedNot documented; consult the linked header.

Returns: Affine<Fixed>. Consult the linked header for its meaning.

Example sketch

C++ example
#include "skeletal.hpp"

// Assume these named values have been initialized with valid data:
// Fixed degrees

auto result = epok::skeletal_detail::aim_pitch_matrix(degrees);

Trade-offs and warnings

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

Declared in runtime/skeletal.hpp:46

Related members