106 return (Pi * grid()->angleSnap()) / 180; |
106 return (Pi * grid()->angleSnap()) / 180; |
107 } |
107 } |
108 |
108 |
109 void MoveToolset::rotateXPos() |
109 void MoveToolset::rotateXPos() |
110 { |
110 { |
111 RotateObjects (1, 0, 0, getRotateActionAngle(), selectedObjects()); |
111 math()->rotateObjects (1, 0, 0, getRotateActionAngle(), selectedObjects()); |
112 } |
112 } |
113 |
113 |
114 void MoveToolset::rotateYPos() |
114 void MoveToolset::rotateYPos() |
115 { |
115 { |
116 RotateObjects (0, 1, 0, getRotateActionAngle(), selectedObjects()); |
116 math()->rotateObjects (0, 1, 0, getRotateActionAngle(), selectedObjects()); |
117 } |
117 } |
118 |
118 |
119 void MoveToolset::rotateZPos() |
119 void MoveToolset::rotateZPos() |
120 { |
120 { |
121 RotateObjects (0, 0, 1, getRotateActionAngle(), selectedObjects()); |
121 math()->rotateObjects (0, 0, 1, getRotateActionAngle(), selectedObjects()); |
122 } |
122 } |
123 |
123 |
124 void MoveToolset::rotateXNeg() |
124 void MoveToolset::rotateXNeg() |
125 { |
125 { |
126 RotateObjects (-1, 0, 0, getRotateActionAngle(), selectedObjects()); |
126 math()->rotateObjects (-1, 0, 0, getRotateActionAngle(), selectedObjects()); |
127 } |
127 } |
128 |
128 |
129 void MoveToolset::rotateYNeg() |
129 void MoveToolset::rotateYNeg() |
130 { |
130 { |
131 RotateObjects (0, -1, 0, getRotateActionAngle(), selectedObjects()); |
131 math()->rotateObjects (0, -1, 0, getRotateActionAngle(), selectedObjects()); |
132 } |
132 } |
133 |
133 |
134 void MoveToolset::rotateZNeg() |
134 void MoveToolset::rotateZNeg() |
135 { |
135 { |
136 RotateObjects (0, 0, -1, getRotateActionAngle(), selectedObjects()); |
136 math()->rotateObjects (0, 0, -1, getRotateActionAngle(), selectedObjects()); |
137 } |
137 } |
138 |
138 |
139 void MoveToolset::configureRotationPoint() |
139 void MoveToolset::configureRotationPoint() |
140 { |
140 { |
141 QDialog* dialog = new QDialog; |
141 QDialog* dialog = new QDialog; |