41 AffineMatrix(
float x1,
float x2,
float x3,
float x4,
float y1,
float y2,
float y3,
float y4,
float z1,
float z2,
42 float z3,
float z4,
float w1,
float w2,
float w3,
float w4);
109 auto operator()(
int row,
int col)
const -> float;
111 auto get(
int row,
int col) ->
float&;
112 auto get(
int row,
int col)
const -> float;
114 auto data() const -> const
float*;
115 auto
data() ->
float*;
auto transpose() -> AffineMatrix &
Transposes the current matrix.
Definition AffineMatrix.cpp:112
auto rotate(float angle) -> AffineMatrix &
Definition AffineMatrix.cpp:144
auto operator()(int row, int col) -> float &
Definition AffineMatrix.cpp:179
auto get(int row, int col) -> float &
Definition AffineMatrix.cpp:189
auto operator*(const AffineMatrix &Other) const -> AffineMatrix
NOTE: THIS MULTIPLIES MATRICES AS THEY ARE WRITTEN (UNLIKE *=) e.g.
Definition AffineMatrix.cpp:90
auto scale(float s) -> AffineMatrix &
Definition AffineMatrix.cpp:118
auto identity() -> AffineMatrix &
Converts the current matrix into the identity matrix.
Definition AffineMatrix.cpp:102
Eigen::Matrix4f matrix
Definition AffineMatrix.h:119
auto translate(float x, float y) -> AffineMatrix &
Definition AffineMatrix.cpp:160
auto operator*=(const AffineMatrix &Other) -> AffineMatrix &
NOTE: THIS FLIPS MULTIPLICATION ORDER SO THE MATRICES PROPERLY MULTIPLY e.g.
Definition AffineMatrix.cpp:76
auto operator=(const AffineMatrix &) -> AffineMatrix &=default
AffineMatrix(const AffineMatrix &)=default
auto data() const -> const float *
Definition AffineMatrix.cpp:199