Commit 251f7619 authored by Oliver Bock's avatar Oliver Bock

Final type fixes

parent 7ef6ed31
...@@ -517,7 +517,7 @@ void PulsarAnimationWidget::showEvent(QShowEvent *event) ...@@ -517,7 +517,7 @@ void PulsarAnimationWidget::showEvent(QShowEvent *event)
updatePulseProfile(); updatePulseProfile();
} }
void PulsarAnimationWidget::updateCameraPosition(const int angleH, const int angleV, const double zoom) void PulsarAnimationWidget::updateCameraPosition(const double angleH, const double angleV, const double zoom)
{ {
m_cameraPosX = sin(angleH * deg2rad) * cos(angleV * deg2rad) * zoom; m_cameraPosX = sin(angleH * deg2rad) * cos(angleV * deg2rad) * zoom;
m_cameraPosY = sin(angleV * deg2rad) * zoom; m_cameraPosY = sin(angleV * deg2rad) * zoom;
......
...@@ -74,7 +74,7 @@ private: ...@@ -74,7 +74,7 @@ private:
void updateOrbitPeriod(); void updateOrbitPeriod();
void updateOrbitRadii(); void updateOrbitRadii();
void updateCameraPosition(const int angleH, const int angleV, const double zoom); void updateCameraPosition(const double angleH, const double angleV, const double zoom);
void resetParameters(); void resetParameters();
void updatePulseProfile(); void updatePulseProfile();
......
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