EPOK RUNTIME
epok::world2d::Projector
Struct
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.
Struct
Camera projection with the rotation resolved once per frame (world2d.hpp's world_to_screen recomputes the sine and cosine at every call).
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "world2d_service.hpp"
// Assume these named values have been initialized with valid data:
// const Camera2D & view
epok::world2d::Projector value(view);Fields and constants
cameraExposes `camera` on `epok::world2d::Projector` for the world2d service module.FieldcenterExposes `center` on `epok::world2d::Projector` for the world2d service module.FieldcosineExposes `cosine` on `epok::world2d::Projector` for the world2d service module.FieldidentityExposes `identity` on `epok::world2d::Projector` for the world2d service module.FieldoriginExposes `origin` on `epok::world2d::Projector` for the world2d service module.FieldscaleExposes `scale` on `epok::world2d::Projector` for the world2d service module.FieldsineExposes `sine` on `epok::world2d::Projector` for the world2d service module.Field