Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
251f7619
Commit
251f7619
authored
Feb 20, 2009
by
Oliver Bock
Browse files
Final type fixes
parent
7ef6ed31
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
251f7619
...
...
@@ -517,7 +517,7 @@ void PulsarAnimationWidget::showEvent(QShowEvent *event)
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_cameraPosY
=
sin
(
angleV
*
deg2rad
)
*
zoom
;
...
...
src/pulsaranimationwidget.h
View file @
251f7619
...
...
@@ -74,7 +74,7 @@ private:
void
updateOrbitPeriod
();
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
updatePulseProfile
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment