1 #include "ge211_geometry.h" 10 : rotation_{0}, scale_x_{1.0}, scale_y_{1.0},
11 flip_h_{
false}, flip_v_{
false}
46 while (rotation < 0) rotation += 360;
47 rotation_ = std::fmod(rotation, 360);
136 return t1.get_rotation() == t2.get_rotation() &&
137 t1.get_flip_h() == t2.get_flip_h() &&
138 t1.get_flip_v() == t2.get_flip_v() &&
139 t1.get_scale_x() == t2.get_scale_x() &&
140 t1.get_scale_y() == t2.get_scale_y();
bool operator!=(const Transform &t1, const Transform &t2) noexcept
Disequality for transforms.
The game engine namespace.
bool operator==(const Transform &t1, const Transform &t2) noexcept
Equality for transforms.