Commit f86aac8b authored by alexandre burton's avatar alexandre burton
Browse files

ClusterMesh: option bool pour dessiner ou pas l'histoire du centroid

parent af140c51
......@@ -156,13 +156,17 @@ class ClusterMesh
cone.setPosition(centroid[0] * scale, centroid[1] * scale, centroid[2] * scale);
}
void draw()
void draw(bool draw_centroid = true)
{
if (lostTime < GRAPPE_AU_DELA) {
mesh->disableColors();
mesh->drawVertices();
centroid_mesh_.drawWireframe();
if (draw_centroid) {
centroid_mesh_.drawWireframe();
}
/*
......
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