Commit d2bd1d36 authored by Olivier Lagrasse's avatar Olivier Lagrasse

Taille fleches et evenements + fleche en blanc

parent 40531fd7
......@@ -534,9 +534,9 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){
glBegin(GL_TRIANGLES);/* create an arrow */
{
glColor3d(1.0, 0.7, 0.7);glVertex2d(0.5, 0.0);
glColor3d(0.9, 0.6, 0.6);glVertex2d(-0.5, -0.5);
glColor3d(0.9, 0.6, 0.6);glVertex2d(-0.5, 0.5);
glColor3d(1.0, 1.0, 1.0);glVertex2d(0.4, 0.0);
glColor3d(0.9, 0.9, 0.9);glVertex2d(-0.4, -0.4);
glColor3d(0.9, 0.9, 0.9);glVertex2d(-0.4, 0.4);
}
glEnd();
......@@ -545,11 +545,11 @@ inline void Render_area::draw_stored_arrows(std::vector<Arrow_> &arrows){
glPushMatrix();
glTranslated(0, 0, _z_arrow);
glLineWidth(2.5f);
glLineWidth(1.5f);
glBegin(GL_LINES);
{
glColor3d(1.0, 0.7, 0.7);glVertex2d(start_time, start_height);
glColor3d(0.9, 0.6, 0.6);glVertex2d(end_time, end_height);
glColor3d(1.0, 1.0, 1.0);glVertex2d(start_time, start_height);
glColor3d(0.9, 0.9, 0.9);glVertex2d(end_time, end_height);
}
glEnd();
glLineWidth(1.0f);/* 1 is the default value */
......@@ -607,7 +607,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){
/* draw a circle */
radius = 2.0f;
radius = 1.0f;
angle = PI/2.0f;
step = 20;/* 20 polygons for the circle */
......@@ -625,7 +625,7 @@ inline void Render_area::draw_stored_events(std::vector<Event_> &events){
glEnd();
/* draw line */
glLineWidth(2.5f);
glLineWidth(1.5f);
glBegin(GL_LINES);
{
......
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