Sun, 26 Jan 2020 01:06:27 +0200
fix default angle
#pragma once #include "object.h" #include "matrix.h" class Model; namespace linetypes { class SubfileReference; } class linetypes::SubfileReference : public ColoredObject { public: SubfileReference() = default; SubfileReference( const Matrix4x4& transformation, const QString &referenceName, const Color color = colors::main); QVariant getProperty(Property property) const override; SetPropertyResult setProperty(Property property, const QVariant& value) override; QString textRepresentation() const override; void getPolygons(std::vector<gl::Polygon>& polygons, GetPolygonsContext* context) const override; Point3D position() const; void invert() override; private: Model* resolve(DocumentManager* documents) const; Matrix4x4 transformation; QString referenceName; bool isInverted = false; };