Commit 9bd5d46f authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.

parent afdb77c5
2010-11-16 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.
2010-11-16 Guillaume Lazzara <z@lrde.epita.fr>
Regen .mk files in Scribo.
......
......@@ -322,7 +322,9 @@ namespace scribo
angle = (angle * 180.0f) / math::pi;
angle = angle * 20.0f + 1.0f;
mln::draw::line(debug_angle_, p1, p2,
value::rgb8(angle, angle, angle));
value::rgb8(unsigned(angle),
unsigned(angle),
unsigned(angle)));
}
}
......@@ -355,7 +357,9 @@ namespace scribo
angle = (angle * 180.0f) / math::pi;
angle = angle * 20.0f + 1.0f;
mln::draw::line(debug_angle_, p1, p2,
value::rgb8(angle, angle, angle));
value::rgb8(unsigned(angle),
unsigned(angle),
unsigned(angle)));
}
}
}
......
Supports Markdown
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