Epok Engine

EPOK RUNTIME

epok::hud_core::compose

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

`b` applied first, then `a`: the parent's accumulated transform composed onto a child's.

Belongs to
epok::hud_core
Header
hud_core.hpp
Overloads
1

Declaration

Declaration
inline Affine2 compose(const Affine2& a,const Affine2& b)

`b` applied first, then `a`: the parent's accumulated transform composed onto a child's.

ParameterTypeMeaning
aconst Affine2 &Not documented; consult the linked header.
bconst Affine2 &Not documented; consult the linked header.

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

Example sketch

C++ example
#include "hud_core.hpp"

// Assume these named values have been initialized with valid data:
// const Affine2 & a
// const Affine2 & b

auto result = epok::hud_core::compose(a, b);

Trade-offs and warnings

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

Declared in runtime/hud_core.hpp:88

Related members