diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-15 14:15:24 +0100 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-01-15 14:15:24 +0100 |
commit | c95dd74744eefc3f8d5077d70c922994c9fe48dd (patch) | |
tree | 044889b115fe9781d2d4efb0b79ec0ffb9be62c6 | |
parent | f16cde45559827af426452c7545d4a42ea9bded5 (diff) |
Scatterplot: small fix to number of vertices in each glyph.
-rw-r--r-- | scatterplot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scatterplot.cpp b/scatterplot.cpp index c772892..0de06a3 100644 --- a/scatterplot.cpp +++ b/scatterplot.cpp @@ -194,7 +194,7 @@ QSGNode *Scatterplot::newGlyphTree() } QSGNode *node = new QSGNode; - int vertexCount = calculateCircleVertexCount(GLYPH_SIZE / 2); + int vertexCount = calculateCircleVertexCount(GLYPH_SIZE); for (arma::uword i = 0; i < m_xy.n_rows; i++) { QSGGeometry *glyphOutlineGeometry = new QSGGeometry(QSGGeometry::defaultAttributes_Point2D(), vertexCount); |