Why use it
It provides direct, allocation-conscious access to fixed-point affine transforms and matrix composition. No exception-based error path is implied by the signature.
EPOK RUNTIME
Method · 1 overload
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 | Value supplied for axis. Keep referenced or pointed-to data valid for the complete call. |
sine | Number | Value supplied for sine. Keep referenced or pointed-to data valid for the complete call. |
cosine | Number | Value supplied for cosine. Keep referenced or pointed-to data valid for the complete call. |
columns | int | Value supplied for columns. Keep referenced or pointed-to data valid for the complete call. |
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);It provides direct, allocation-conscious access to fixed-point affine transforms and matrix composition. No exception-based error path is implied by the signature.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/affine.hpp:15
composePerforms `compose` as part of fixed-point affine transforms and matrix composition.MethodidentityPerforms `identity` 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