Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pulsatingscience
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
einsteinathome
pulsatingscience
Commits
251f7619
Commit
251f7619
authored
Feb 20, 2009
by
Oliver Bock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final type fixes
parent
7ef6ed31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/pulsaranimationwidget.cpp
src/pulsaranimationwidget.cpp
+1
-1
src/pulsaranimationwidget.h
src/pulsaranimationwidget.h
+1
-1
No files found.
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
Markdown
is supported
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