From 375c3413171c48cdf921129371c614b5aa6a5787 Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Tue, 24 Nov 2015 12:54:14 +0100 Subject: Don't add northpole twice --- src/glsphere.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/glsphere.cpp') diff --git a/src/glsphere.cpp b/src/glsphere.cpp index d8cfa4b..9e721c6 100644 --- a/src/glsphere.cpp +++ b/src/glsphere.cpp @@ -55,9 +55,8 @@ void GLSphere::makeSurface(QVector *pointContainer, m_indices->append((m_firstPoint + 1) + stack + ((m_stacks - 1) * (slice + 1))); m_indices->append((m_firstPoint + 1) + stack + ((m_stacks - 1) * slice)); } - - m_indices->append(m_firstPoint); } + m_indices->append(m_firstPoint); m_nextIndex = m_indices->size(); } -- cgit v1.2.3-70-g09d2