Epok Engine

EPOK RUNTIME

epok::sprite_detail::plane

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 `plane` as part of sprites, flipbooks and screen-facing rendering.

Belongs to
epok::sprite_detail
Header
sprites.hpp
Overloads
1

Declaration

Declaration
inline Affine<Fixed> plane(const Sprite& sprite,const Affine<Fixed>& world,const Affine<Fixed>& view)

Performs `plane` as part of sprites, flipbooks and screen-facing rendering.

ParameterTypeMeaning
spriteconst Sprite &Not documented; consult the linked header.
worldconst Affine<Fixed> &Not documented; consult the linked header.
viewconst Affine<Fixed> &Not documented; consult the linked header.

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

Example sketch

C++ example
#include "sprites.hpp"

// Assume these named values have been initialized with valid data:
// const Sprite & sprite
// const Affine<Fixed> & world
// const Affine<Fixed> & view

auto result = epok::sprite_detail::plane(sprite, world, view);

Trade-offs and warnings

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

Declared in runtime/sprites.hpp:11

Related members