Commit a821099f authored by Oliver Bock's avatar Oliver Bock

Initialize variables using setters to ensure consistency

parent 02ded9b6
......@@ -73,10 +73,10 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) :
m_pulsarRotationDelta = 0.0;
m_pulsarRotationAngle = 0.0;
m_pulsarSpinAxisInclination = 0.0;
m_pulsarMagneticAxisInclination = 5.0;
m_pulsarBeamLength = 3.0f;
m_pulsarBeamRimSize = 0.1f;
setPulsarSpinAxisInclination(0);
setPulsarMagneticAxisInclination(5);
setPulsarBeamAngle(20);
......
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