aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-15 14:15:24 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-15 14:15:24 +0100
commitc95dd74744eefc3f8d5077d70c922994c9fe48dd (patch)
tree044889b115fe9781d2d4efb0b79ec0ffb9be62c6
parentf16cde45559827af426452c7545d4a42ea9bded5 (diff)
Scatterplot: small fix to number of vertices in each glyph.
-rw-r--r--scatterplot.cpp2
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);