Commit d8dbfd12 authored by Oliver Bock's avatar Oliver Bock

Fixed destructor

parent 8b336f34
......@@ -108,13 +108,10 @@ PulsarAnimationWidget::~PulsarAnimationWidget()
if(m_quadricPulsarSpinAxis) gluDeleteQuadric(m_quadricPulsarSpinAxis);
if(m_quadricPulsarSpinAxisTop1) gluDeleteQuadric(m_quadricPulsarSpinAxisTop1);
if(m_quadricPulsarSpinAxisTop2) gluDeleteQuadric(m_quadricPulsarSpinAxisTop2);
if(m_quadricPulsarSpinAxis) gluDeleteQuadric(m_quadricPulsarSpinAxis);
if(m_quadricPulsarSpinAxisTop1) gluDeleteQuadric(m_quadricPulsarSpinAxisTop1);
if(m_quadricPulsarSpinAxisTop2) gluDeleteQuadric(m_quadricPulsarSpinAxisTop2);
if(m_quadricPulsarMagneticAxis) gluDeleteQuadric(m_quadricPulsarMagneticAxis);
if(m_quadricPulsarSpinAxis) gluDeleteQuadric(m_quadricLineOfSight);
if(m_quadricPulsarSpinAxisTop1) gluDeleteQuadric(m_quadricLineOfSightTop1);
if(m_quadricPulsarSpinAxisTop2) gluDeleteQuadric(m_quadricLineOfSightTop2);
if(m_quadricLineOfSight) gluDeleteQuadric(m_quadricLineOfSight);
if(m_quadricLineOfSightTop1) gluDeleteQuadric(m_quadricLineOfSightTop1);
if(m_quadricLineOfSightTop2) gluDeleteQuadric(m_quadricLineOfSightTop2);
if(m_backgroundTexture) deleteTexture(m_backgroundTexture);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment