| 91 | void translate(float x, float y) { identity(); auto& m = (*this); m(2, 0) = x; m(2, 1) = y; } |
| 92 | void translate(const olc::v2d_generic<T>& v) { translate(v.x, v.y); } |
| 93 | void scale(float x, float y) { identity(); auto& m = (*this); m(0, 0) = x; m(1, 1) = y; } |
| 94 | void scale(const olc::v2d_generic<T>& v) { return scale(v.x, v.y); } |
| 95 | void rotate(float a) { identity(); auto& m = (*this); m(0, 0) = cos(a); m(0, 1) = sin(a); m(1, 0) = -m(0, 1); m(1, 1) = m(0, 0); } |
| 96 |
nothing calls this directly
no outgoing calls
no test coverage detected