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
794716ec
Commit
794716ec
authored
Sep 09, 2011
by
Oliver Bock
Browse files
Let beam cones start in pulsar center
parent
7947d743
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
794716ec
...
...
@@ -312,7 +312,7 @@ void PulsarAnimationWidget::paintGL()
glPopMatrix
();
}
glTranslatef
(
0.0
,
0.0
,
-
4
.0
);
glTranslatef
(
0.0
,
0.0
,
-
3
.0
);
glMaterialfv
(
GL_FRONT
,
GL_AMBIENT
,
coneAmbient
);
glMaterialfv
(
GL_FRONT
,
GL_DIFFUSE
,
coneDiffuse
);
...
...
@@ -329,7 +329,7 @@ void PulsarAnimationWidget::paintGL()
glRotatef
(
m_pulsarRotationAngle
-
90.0
,
0.0
,
0.0
,
1.0
);
glRotatef
(
m_pulsarMagneticAxisInclination
,
1.0
,
0.0
,
0.0
);
glTranslatef
(
0.0
,
0.0
,
-
4
.0
);
glTranslatef
(
0.0
,
0.0
,
-
3
.0
);
glMaterialfv
(
GL_FRONT
,
GL_AMBIENT
,
coneAmbient
);
glMaterialfv
(
GL_FRONT
,
GL_DIFFUSE
,
coneDiffuse
);
...
...
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