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.
Rotate all basis columns with one already-resolved sine/cosine pair.
void rotate_rows(int axis,Number sine,Number cosine,int columns=3)Rotate all basis columns with one already-resolved sine/cosine pair.
| Parameter | Type | Meaning |
|---|---|---|
axis | int | Not documented; consult the linked header. |
sine | Number | Not documented; consult the linked header. |
cosine | Number | Not documented; consult the linked header. |
columns | int | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "affine.hpp"
// Assume these named values have been initialized with valid data:
// int axis
// Number sine
// Number cosine
// int columns
epok::Affine& object = /* obtain a valid instance */;
object.rotate_rows(axis, sine, cosine, columns);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/affine.hpp:22
composePerforms `compose` as part of fixed-point affine transforms and matrix composition.MethodidentityPerforms `identity` 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.MethodtranslatedRight-compose a translation without multiplying the unchanged basis by an identity matrix.Method