Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

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

draw dart

parent f16f1599
...@@ -498,15 +498,7 @@ void SocialAgents::cb_redraw() ...@@ -498,15 +498,7 @@ void SocialAgents::cb_redraw()
dock.check_slide->setRange(0, simulator.envMap_.map.end().index) ; 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) if (draw_posX)
{ {
...@@ -616,7 +608,18 @@ void SocialAgents::cb_redraw() ...@@ -616,7 +608,18 @@ void SocialAgents::cb_redraw()
} }
if (drawEnvTopo) if (drawEnvTopo)
{
m_renderTopo->drawTopo(); 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) 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