summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-09 23:14:37 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-09 23:14:37 +0200
commit3212ca62361da55e8eec4cb97ee1698b534daad6 (patch)
tree265b091306419191d3f8e862f07f2d469d5cbf50 /src
parent1189ab4d0144051228eb4265ed0777e0e4c2e5cd (diff)
remove some obsolete todo's
Diffstat (limited to 'src')
-rw-r--r--src/entity.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 3f5c67be..f382db75 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -94,8 +94,7 @@ bool entity::can_rotate(rotation new_r)
void entity::rotate(size_t, rotation new_r)
{
fm_assert(atlas->check_rotation(new_r));
- // todo normalize coords
- auto offset_ = !is_dynamic() ? rotate_point(offset, r, new_r) : offset; // todo add boolean for this condition
+ auto offset_ = !is_dynamic() ? rotate_point(offset, r, new_r) : offset;
auto bbox_offset_ = rotate_point(bbox_offset, r, new_r);
auto bbox_size_ = rotate_size(bbox_size, r, new_r);
set_bbox(offset_, bbox_offset_, bbox_size_, pass);