Skip to content
GitLab
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
a15339d6
Commit
a15339d6
authored
Sep 07, 2017
by
Oliver Bock
Browse files
Improve initial pointing symmetry
parent
ed4adf76
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
a15339d6
...
...
@@ -287,8 +287,8 @@ void PulsarAnimationWidget::paintGL()
{
glRotatef
(
130
,
0.0
,
1.0
,
0.0
);
glPushMatrix
();
{
glRotatef
(
90
,
1.0
,
0.0
,
0.0
);
{
glRotatef
(
90
,
1.0
,
0.0
,
0.0
);
glRotatef
(
180
,
1.0
,
1.0
,
0.0
);
// create texture coordinates and enable texturing
...
...
@@ -296,9 +296,9 @@ void PulsarAnimationWidget::paintGL()
glBindTexture
(
GL_TEXTURE_2D
,
m_beamTexture
);
glEnable
(
GL_TEXTURE_2D
);
gluSphere
(
m_quadricPulsar
,
m_pulsarRadius
,
32
,
32
);
}
glPopMatrix
();
gluSphere
(
m_quadricPulsar
,
m_pulsarRadius
,
32
,
32
);
}
glPopMatrix
();
}
glPopMatrix
();
...
...
@@ -309,7 +309,7 @@ void PulsarAnimationWidget::paintGL()
3.0
,
-
3.0
);
glRotatef
(
-
30
,
0.0
,
1.0
,
0.0
);
glRotatef
(
-
45
,
0.0
,
1.0
,
0.0
);
glRotatef
(
90
,
1.0
,
0.0
,
0.0
);
glPushMatrix
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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