From c95dd74744eefc3f8d5077d70c922994c9fe48dd Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 15 Jan 2016 14:15:24 +0100 Subject: Scatterplot: small fix to number of vertices in each glyph. --- scatterplot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scatterplot.cpp') 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); -- cgit v1.2.3