summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mmscene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mmscene.cpp b/src/mmscene.cpp
index c009d37..caf8b2b 100644
--- a/src/mmscene.cpp
+++ b/src/mmscene.cpp
@@ -94,9 +94,9 @@ void MMScene::createCube(const QVector3D &lbb, const QVector3D &rtf)
void MMScene::createSphere()
{
- m_sphere = new GLSphere();
+ m_sphere = new GLSphere(2.0, 100, 100);
- m_sphere->setDrawingMode(GL_LINE_STRIP);
+ m_sphere->setDrawingMode(GL_TRIANGLE_STRIP);
m_sphere->makeSurface(&m_points, &m_indices);
}