Commit 247a530f authored by pitiot's avatar pitiot
Browse files

draw dart

parent f16f1599
......@@ -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.0f,0,1.0f,0.5f);
}
}
}
if (drawObstacles)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment