Epok Engine

EPOK RUNTIME

epok::skeletal_detail::local_pose_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

Performs `local pose matrix` as part of rigid skeletal animation and pose evaluation.

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

Declaration

Declaration
inline Affine<Fixed> local_pose_matrix(const BonePose& pose,int16_t aim_bone,const int16_t* aim_stop_bones,Fixed aim_pitch,size_t bone)

Performs `local pose matrix` as part of rigid skeletal animation and pose evaluation.

ParameterTypeMeaning
poseconst BonePose &Not documented; consult the linked header.
aim_boneint16_tNot documented; consult the linked header.
aim_stop_bonesconst int16_t *Not documented; consult the linked header.
aim_pitchFixedNot documented; consult the linked header.
bonesize_tNot 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:
// const BonePose & pose
// int16_t aim_bone
// const int16_t * aim_stop_bones
// Fixed aim_pitch
// size_t bone

auto result = epok::skeletal_detail::local_pose_matrix(pose, aim_bone, aim_stop_bones, aim_pitch, bone);

Trade-offs and warnings

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

Declared in runtime/skeletal.hpp:59

Related members