From: Jérémie D. <Ba...@us...> - 2011-04-02 18:04:50
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "krobot". The branch, master has been updated via de73d5b2e4253bee8b5a9db7b97cb2138db25b75 (commit) from fcc0f991f25242305a7c22757a00c38189b89e06 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit de73d5b2e4253bee8b5a9db7b97cb2138db25b75 Author: Jérémie Dimino <je...@di...> Date: Sat Apr 2 20:04:06 2011 +0200 [krobot_viewer] make the arrow to start between the wheels ----------------------------------------------------------------------- Changes: diff --git a/info/control2011/src/tools/krobot_viewer.ml b/info/control2011/src/tools/krobot_viewer.ml index cdda66b..c3b1757 100644 --- a/info/control2011/src/tools/krobot_viewer.ml +++ b/info/control2011/src/tools/krobot_viewer.ml @@ -369,7 +369,7 @@ module Board = struct (* Draw an arrow on the robot *) let d = robot_size /. 2. -. wheels_position in - Cairo.move_to ctx (d -. robot_size /. 4.) 0.; + Cairo.move_to ctx 0. 0.; Cairo.line_to ctx (d +. robot_size /. 4.) 0.; Cairo.line_to ctx d (-. robot_size /. 4.); Cairo.line_to ctx d (robot_size /. 4.); hooks/post-receive -- krobot |