DarkRadiant: master ea20e9e6

Author Committer Branch Timestamp Parent
Matthew Mott Matthew Mott master 06.06.2023 19:26 master 789aa924
Changeset Streamline X/Y/Z members of RotateManipulator

Introduce a new struct template XYZ<T> which defines .x, .y and .z
members (but otherwise provides no functionality beyond mere
aggregation). This is used in RotateManipulator to reduce the need to
manually define separate _memberX, _memberY and _memberZ triplets for
various purposes.

The circle visibility members are removed entirely rather than placed in
an XYZ<bool>, since they are never referenced outside the function which
sets their values.
add - libs/math/XYZ.h Diff File
mod - radiantcore/selection/BasicSelectable.h Diff File
mod - radiantcore/selection/manipulators/Renderables.h Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.cpp Diff File
mod - radiantcore/selection/manipulators/RotateManipulator.h Diff File