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
ed4adf76
Commit
ed4adf76
authored
Sep 07, 2017
by
Oliver Bock
Browse files
Fix arrow head/stick logitudinal alignment
parent
36bc56a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
ed4adf76
...
...
@@ -322,7 +322,7 @@ void PulsarAnimationWidget::paintGL()
glPushMatrix
();
{
glTranslatef
(
0.0
,
0.0
,
-
2.0
);
gluCylinder
(
m_quadricPulsarSpinAxis
,
0.020
,
0.020
,
4.0
,
32
,
1
);
gluCylinder
(
m_quadricPulsarSpinAxis
,
0.020
,
0.020
,
3.5
,
32
,
1
);
}
glPopMatrix
();
glPushMatrix
();
...
...
@@ -333,14 +333,14 @@ void PulsarAnimationWidget::paintGL()
glPopMatrix
();
glPushMatrix
();
{
glTranslatef
(
0.0
,
0.0
,
2
.0
);
glTranslatef
(
0.0
,
0.0
,
1
.0
);
gluDisk
(
m_quadricPulsarSpinAxisTop2
,
0
,
0.020
,
32
,
8
);
}
glPopMatrix
();
glPushMatrix
();
{
glTranslatef
(
0.0
,
0.0
,
2.0
f
-
0.7
5
f
);
glTranslatef
(
0.0
,
0.0
,
1.2
5
f
);
glBegin
(
GL_TRIANGLE_FAN
);
{
// Pinnacle of cone is shared vertex for fan, moved up z-axis
...
...
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