74 Chord, |
74 Chord, |
75 } type; |
75 } type; |
76 static constexpr int NUM_TYPES = Chord + 1; |
76 static constexpr int NUM_TYPES = Chord + 1; |
77 CircularFraction fraction; |
77 CircularFraction fraction; |
78 glm::mat4 transformation; |
78 glm::mat4 transformation; |
|
79 }; |
|
80 |
|
81 constexpr char circularPrimitiveStems[CircularPrimitive::NUM_TYPES][5] = { |
|
82 "edge", |
|
83 "disc", |
|
84 "cyli", |
|
85 "cylo", |
|
86 "cylc", |
|
87 "ndis", |
|
88 "chrd", |
79 }; |
89 }; |
80 |
90 |
81 Q_DECLARE_METATYPE(CircularPrimitive::Type) |
91 Q_DECLARE_METATYPE(CircularPrimitive::Type) |
82 |
92 |
83 struct CircleToolOptions |
93 struct CircleToolOptions |