30 QString typeName() const override { return "cylinder"; } |
30 QString typeName() const override { return "cylinder"; } |
31 void serialize(class Serializer& serializer) override; |
31 void serialize(class Serializer& serializer) override; |
32 |
32 |
33 private: |
33 private: |
34 QString buildFilename() const; |
34 QString buildFilename() const; |
35 void buildPrimitiveBody(Model& model, Winding winding = CounterClockwise) const; |
35 void buildPrimitiveBody(Model& model) const; |
36 |
36 |
37 int m_segments; |
37 int m_segments; |
38 int m_divisions; |
38 int m_divisions; |
39 }; |
39 }; |