Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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.
Performs `transform` as part of sprites, flipbooks and screen-facing rendering.
void transform(const Sprite& sprite,const Affine<Fixed>& world,const CameraSpace<Fixed>& view, Affine<Fixed>& model,Affine<Fixed>& camera)Performs `transform` as part of sprites, flipbooks and screen-facing rendering.
| Parameter | Type | Meaning |
|---|---|---|
sprite | const Sprite & | Not documented; consult the linked header. |
world | const Affine<Fixed> & | Not documented; consult the linked header. |
view | const CameraSpace<Fixed> & | Not documented; consult the linked header. |
model | Affine<Fixed> & | Not documented; consult the linked header. |
camera | Affine<Fixed> & | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "sprites.hpp"
// Assume these named values have been initialized with valid data:
// const Sprite & sprite
// const Affine<Fixed> & world
// const CameraSpace<Fixed> & view
// Affine<Fixed> & model
// Affine<Fixed> & camera
epok::sprite_detail::PlaneCache& object = /* obtain a valid instance */;
object.transform(sprite, world, view, model, camera);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/sprites.hpp:28