comparison: src/mathfunctions.cpp
src/mathfunctions.cpp
- changeset 1323
- 05b3e173c900
- parent 1319
- 39d7a9642eea
- child 1326
- 69a90bd2dba2
equal
deleted
inserted
replaced
| 82 } |
82 } |
| 83 |
83 |
| 84 |
84 |
| 85 Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const |
85 Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const |
| 86 { |
86 { |
| 87 switch (RotationPoint (m_config->rotationPointType())) |
87 switch (RotationPoint (config::rotationPointType())) |
| 88 { |
88 { |
| 89 case ObjectOrigin: |
89 case ObjectOrigin: |
| 90 { |
90 { |
| 91 BoundingBox box; |
91 BoundingBox box; |
| 92 |
92 |
| 109 |
109 |
| 110 case WorldOrigin: |
110 case WorldOrigin: |
| 111 return Vertex(); |
111 return Vertex(); |
| 112 |
112 |
| 113 case CustomPoint: |
113 case CustomPoint: |
| 114 return m_config->customRotationPoint(); |
114 return config::customRotationPoint(); |
| 115 } |
115 } |
| 116 |
116 |
| 117 return Vertex(); |
117 return Vertex(); |
| 118 } |
118 } |