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
Thomas Pitiot
SocialAgents3D
Commits
247a530f
Commit
247a530f
authored
Feb 19, 2013
by
pitiot
Browse files
draw dart
parent
f16f1599
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/viewer.cpp
View file @
247a530f
...
...
@@ -498,15 +498,7 @@ void SocialAgents::cb_redraw()
dock
.
check_slide
->
setRange
(
0
,
simulator
.
envMap_
.
map
.
end
().
index
)
;
if
(
draw_dart
)
{
// if (dartSlider < (simulator.envMap_.map.end().index))
// {
// glColor3f(1.0f, 0.0f, 0.0f) ;
// glLineWidth(5.0f) ;
// renderDart(simulator.envMap_, dartSlider) ;
// }
}
if
(
draw_posX
)
{
...
...
@@ -616,7 +608,18 @@ void SocialAgents::cb_redraw()
}
if
(
drawEnvTopo
)
{
m_renderTopo
->
drawTopo
();
if
(
draw_dart
)
{
if
(
dartSlider
<
(
simulator
.
envMap_
.
map
.
end
().
index
))
{
m_renderTopo
->
overdrawDart
(
dartSlider
,
5.0
f
,
0
,
1.0
f
,
0.5
f
);
}
}
}
if
(
drawObstacles
)
{
...
...
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