summaryrefslogtreecommitdiffstats
path: root/model.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2008-12-12 13:54:58 +0100
committerSamuel Rødal <sroedal@trolltech.com>2008-12-12 13:54:58 +0100
commitb2d3f3990bc7b949259da4270659adc9be580fcd (patch)
tree24544a192c1cabf344cfe1cdf473dfe60b96c809 /model.h
parent48bbfd7f61088c85fe8bdb58d16729edc4c8b107 (diff)
Speed up QPainter model rendering a bit, and prevent clipping bugs when transforming wireframe lines.
Diffstat (limited to 'model.h')
-rw-r--r--model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/model.h b/model.h
index cccf66d..e79c9dd 100644
--- a/model.h
+++ b/model.h
@@ -56,6 +56,9 @@ private:
QVector<int> m_edgeIndices;
QVector<int> m_pointIndices;
Point3d m_size;
+
+ mutable QVector<QLineF> m_lines;
+ mutable QVector<Point3d> m_mapped;
};
#endif