diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 14:20:04 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-11 14:20:04 +0100 |
commit | a09992bd876495ac9e24ed3fb1fac9b3b2dd7948 (patch) | |
tree | e45b08c5496b2a8279e70924866791ee7f4235af | |
parent | 309375f55c05a0bef3f47a0f2cdd138c41284bea (diff) |
Scatterplot: Removed geometry update code from initialization of glyphs.
-rw-r--r-- | scatterplot.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp index 1be52eb..62a492b 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -144,7 +144,6 @@ QSGNode *Scatterplot::newGlyphTree() for (arma::uword i = 0; i < m_xy.n_rows; i++) { QSGGeometry *glyphOutlineGeometry = new QSGGeometry(QSGGeometry::defaultAttributes_Point2D(), vertexCount); glyphOutlineGeometry->setDrawingMode(GL_LINE_LOOP); - updateCircleGeometry(glyphOutlineGeometry, GLYPH_SIZE / 2, 0, 0); QSGGeometryNode *glyphOutlineNode = new QSGGeometryNode; glyphOutlineNode->setGeometry(glyphOutlineGeometry); glyphOutlineNode->setFlag(QSGNode::OwnsGeometry); @@ -156,7 +155,6 @@ QSGNode *Scatterplot::newGlyphTree() QSGGeometry *glyphGeometry = new QSGGeometry(QSGGeometry::defaultAttributes_Point2D(), vertexCount); glyphGeometry->setDrawingMode(GL_POLYGON); - updateCircleGeometry(glyphGeometry, GLYPH_SIZE / 2 - 0.5, 0, 0); QSGGeometryNode *glyphNode = new QSGGeometryNode; glyphNode->setGeometry(glyphGeometry); glyphNode->setFlag(QSGNode::OwnsGeometry); |