Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanmahou committed Dec 16, 2024
1 parent 324b2e5 commit 600749f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ namespace
Vec2 size = obj.toRectF().size;
RectF rect{ obj.pos + Vec2{0, -size.y}, size};
it->pos = rect.center().rotatedAt(rect.bl(), s3d::ToRadians(obj.rotation));
it->footPos = rect.bottomCenter().rotatedAt(rect.bl(), s3d::ToRadians(obj.rotation));
it->isFixBazooka = obj.getProperty(U"fix_bazooka").value_or(false);
it->bazookaRotate = obj.getProperty(U"bazooka_rotate").value_or(0.0);
return it;
Expand Down

0 comments on commit 600749f

Please sign in to comment.