Commit 6b5fee5b authored by Olivier Lagrasse's avatar Olivier Lagrasse

reactivation des fleches + ternissage des couleurs pour eviter qu'elles soient tros vives

parent 92313b29
......@@ -448,8 +448,8 @@ inline void Render_area::draw_state(const Element_pos start, const Element_pos e
{
glColor3d(r, g, b);glVertex2d(start, base);
glColor3d(r, g, b);glVertex2d(start, base + height);
glColor3d(r*2, g*2, b*2);glVertex2d(end, base + height);
glColor3d(r*2, g*2, b*2);glVertex2d(end, base);
glColor3d(r/1.5, g/1.5, b/1.5);glVertex2d(end, base + height);
glColor3d(r/1.5, g/1.5, b/1.5);glVertex2d(end, base);
}
glEnd();
......@@ -506,12 +506,12 @@ inline void Render_area::draw_arrow(const Element_pos start_time, const Element_
glTranslated(0, 0, _z_arrow);
glLineWidth(2.5f);
/*glBegin(GL_LINES);
glBegin(GL_LINES);
{
glColor3d(1.0, 0.7, 0.7);glVertex3d(start_time, start_height, _z_arrow);
glColor3d(0.9, 0.6, 0.6);glVertex3d(end_time, end_height, _z_arrow);
}
glEnd();*/
glEnd();
glLineWidth(1.0f);/* 1 is the default value */
glPopMatrix();
......
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