Commit 2596423f authored by pitiot's avatar pitiot

repare openGL

parent 0a8ade23
......@@ -519,7 +519,7 @@ void MovingObstacle::draw(bool showPath)
{
m_ds->newList(GL_COMPILE_AND_EXECUTE);
m_ds->lineWidth(10.0f);
m_ds->begin(GL_LINE_STRIP);
VEC3 col = Utils::color_map_BCGYR(float(index)/float(sim_->movingObstacles_.size()));
......@@ -537,6 +537,7 @@ void MovingObstacle::draw(bool showPath)
m_ds->endList();
}
glLineWidth(1.0f);
}
VEC3 MovingObstacle::getDilatedPosition(unsigned int ind)
......
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