Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless authored Jan 15, 2024
1 parent e257b68 commit c1794be
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Siv3D/include/Siv3D/detail/RectF.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,9 @@ namespace s3d
{
return *this; // 偶数
}
else {
return { bl().rotate90At(center(),1),size.yx() }; // 奇数
else
{
return { bl().rotate90At(center(), 1),size.yx() }; // 奇数
}
}

Expand All @@ -848,13 +849,13 @@ namespace s3d
{
case 1:
case -3:
return { bl().rotate90At(_pos,1),size.yx() }; // 1 回または -3 回
return { bl().rotate90At(_pos, 1),size.yx() }; // 1 回または -3 回
case 2:
case -2:
return { br().rotate90At(_pos,2),size }; // 2 回または -2 回
return { br().rotate90At(_pos, 2),size }; // 2 回または -2 回
case 3:
case -1:
return { tr().rotate90At(_pos,3),size.yx() }; // 3 回または -1 回
return { tr().rotate90At(_pos, 3),size.yx() }; // 3 回または -1 回
default:
return *this; // 0 回
}
Expand Down

0 comments on commit c1794be

Please sign in to comment.