Skip to content

Commit

Permalink
#5878: Prevent free-rotate selection test culling all the circle tria…
Browse files Browse the repository at this point in the history
…ngles.

Most likely I accidentally reversed the winding direction in 26ab05d.
  • Loading branch information
codereader committed Jun 9, 2022
1 parent 2726ca4 commit 8127bcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions radiantcore/selection/manipulators/RotateManipulator.cpp
Expand Up @@ -232,15 +232,15 @@ void RotateManipulator::testSelect(SelectionTest& test, const Matrix4& pivot2wor

{
SelectionIntersection best;
auto points = _circleScreen.getRawPoints();
const auto& points = _circleScreen.getRawPoints();
LineLoop_BestPoint(local2view, &points.front(), points.size(), best);
selector.addSelectable(best, &_selectableScreen);
}

{
SelectionIntersection best;
auto points = _circleSphere.getRawPoints();
Circle_BestPoint(local2view, eClipCullCW, &points.front(), points.size(), best);
const auto& points = _circleSphere.getRawPoints();
Circle_BestPoint(local2view, eClipCullCCW, &points.front(), points.size(), best);
selector.addSelectable(best, &_selectableSphere);
}
}
Expand Down

0 comments on commit 8127bcc

Please sign in to comment.