Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/3dview/axisgnomonentity.cpp
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 43 | { | |||
---|---|---|---|---|---|
80 | auto effect = new QEffect(material); | 80 | auto effect = new QEffect(material); | ||
81 | effect->addTechnique(technique); | 81 | effect->addTechnique(technique); | ||
82 | 82 | | |||
83 | material->setEffect(effect); | 83 | material->setEffect(effect); | ||
84 | 84 | | |||
85 | addComponent(material); | 85 | addComponent(material); | ||
86 | } | 86 | } | ||
87 | 87 | | |||
88 | AxisGnomonEntity::~AxisGnomonEntity() | | |||
89 | { | | |||
90 | } | | |||
91 | | ||||
92 | QVector2D AxisGnomonEntity::position() const | 88 | QVector2D AxisGnomonEntity::position() const | ||
93 | { | 89 | { | ||
94 | return _position; | 90 | return _position; | ||
95 | } | 91 | } | ||
96 | 92 | | |||
97 | float AxisGnomonEntity::scale() const | 93 | float AxisGnomonEntity::scale() const | ||
98 | { | 94 | { | ||
99 | return _scale; | 95 | return _scale; | ||
Show All 28 Lines |