summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules/interpreter/ball_tracker.c
diff options
context:
space:
mode:
authormasterm <devnull@localhost>2007-02-19 18:15:02 +0100
committermasterm <devnull@localhost>2007-02-19 18:15:02 +0100
commit354ef5f0d0ad5487288e8d25fc9b1fcecf730eba (patch)
treed761d61760999f007a95687948446d633a8e1c17 /source/Concept/Framework/modules/interpreter/ball_tracker.c
parentc3ce4e70692504c2179219f0dc9c04732353aa54 (diff)
downloadrc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.tar
rc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.zip
+++ improved navigator
Diffstat (limited to 'source/Concept/Framework/modules/interpreter/ball_tracker.c')
-rwxr-xr-xsource/Concept/Framework/modules/interpreter/ball_tracker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Concept/Framework/modules/interpreter/ball_tracker.c b/source/Concept/Framework/modules/interpreter/ball_tracker.c
index 6679d3e..1701121 100755
--- a/source/Concept/Framework/modules/interpreter/ball_tracker.c
+++ b/source/Concept/Framework/modules/interpreter/ball_tracker.c
@@ -68,7 +68,7 @@ void Ball_Tracker::Update()
mainDirection = 33.0f * PI / 18.0f;
break;
default:
- mainDirection = -1.0f;
+ mainDirection = EMPTY_FLOAT;
return;
break;
}
@@ -104,7 +104,7 @@ void Ball_Tracker::Update()
secondDirection = 33.0f * PI / 18.0f;
break;
default:
- secondDirection = -1.0f;
+ secondDirection = EMPTY_FLOAT;
return;
break;
}
@@ -120,6 +120,6 @@ void Ball_Tracker::Update()
}
else
{
- direction = -1.0f;
+ direction = EMPTY_FLOAT;
}
}