comparison: src/mathfunctions.cpp
src/mathfunctions.cpp
- changeset 1192
- 317f4ce38f3f
- parent 1161
- e6a5ff67c057
- child 1198
- f7151e4cd90f
equal
deleted
inserted
replaced
| 83 } |
83 } |
| 84 |
84 |
| 85 |
85 |
| 86 Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const |
86 Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const |
| 87 { |
87 { |
| 88 switch (RotationPoint (m_config->rotationPointType())) |
88 switch (RotationPoint (configuration().rotationPointType())) |
| 89 { |
89 { |
| 90 case ObjectOrigin: |
90 case ObjectOrigin: |
| 91 { |
91 { |
| 92 BoundingBox box; |
92 BoundingBox box; |
| 93 |
93 |
| 110 |
110 |
| 111 case WorldOrigin: |
111 case WorldOrigin: |
| 112 return Vertex(); |
112 return Vertex(); |
| 113 |
113 |
| 114 case CustomPoint: |
114 case CustomPoint: |
| 115 return m_config->customRotationPoint(); |
115 return configuration().customRotationPoint(); |
| 116 } |
116 } |
| 117 |
117 |
| 118 return Vertex(); |
118 return Vertex(); |
| 119 } |
119 } |