diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-24 12:54:14 +0100 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-11-24 12:54:14 +0100 |
| commit | 375c3413171c48cdf921129371c614b5aa6a5787 (patch) | |
| tree | 979dc0fb132231d1fe636f5ebf91287271d73782 | |
| parent | 46bca74beb8977f183e96bd38cfa514ccf9a09f5 (diff) | |
| download | Multimedia-375c3413171c48cdf921129371c614b5aa6a5787.tar.gz Multimedia-375c3413171c48cdf921129371c614b5aa6a5787.zip | |
Don't add northpole twice
| -rw-r--r-- | src/glsphere.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<GLPoint> *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(); } |
