|
trase
|
a transform matrix in the form More...
#include <Backend.hpp>
Public Member Functions | |
| bool | is_identity () |
| void | clear () |
| void | translate (const vfloat2_t &t) |
| void | rotate (float angle) |
| std::string | to_string () |
Public Attributes | |
| float | a {1} |
| float | b {0} |
| float | c {0} |
| float | d {1} |
| float | e {0} |
| float | f {0} |
a transform matrix in the form
[a c e] [b d f] [0 0 1]
|
inline |
[a c e] [cost -sint 0] [a' c' e'] [b d f] * [sint cost 0] = [b' d' f'] [0 0 1] [0 0 1] [0 0 1]
|
inline |
[a c e] [1 0 tx] [a' c' e'] [b d f] * [0 1 ty] = [b' d' f'] [0 0 1] [0 0 1] [0 0 1]