EPOK RUNTIME
epok::Affine
Class template
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.
Class template
Affine composition preserves inherited non-uniform scale and shear.
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 "affine.hpp"
epok::Affine& value = /* obtain a valid instance from your game */;Fields and constants
Public methods
composePerforms `compose` as part of fixed-point affine transforms and matrix composition.Methodidentity_basisPerforms `identity basis` as part of fixed-point affine transforms and matrix composition.MethodpointPerforms `point` as part of fixed-point affine transforms and matrix composition.Methodrotate_rowsRotate all basis columns with one already-resolved sine/cosine pair.MethodtranslatedRight-compose a translation without multiplying the unchanged basis by an identity matrix.Method