diff options
author | masterm <devnull@localhost> | 2007-02-19 18:15:02 +0100 |
---|---|---|
committer | masterm <devnull@localhost> | 2007-02-19 18:15:02 +0100 |
commit | 354ef5f0d0ad5487288e8d25fc9b1fcecf730eba (patch) | |
tree | d761d61760999f007a95687948446d633a8e1c17 /source/Concept/Framework/modules/interpreter | |
parent | c3ce4e70692504c2179219f0dc9c04732353aa54 (diff) | |
download | rc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.tar rc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.zip |
+++ improved navigator
Diffstat (limited to 'source/Concept/Framework/modules/interpreter')
-rwxr-xr-x | source/Concept/Framework/modules/interpreter/ball_tracker.c | 6 | ||||
-rwxr-xr-x | source/Concept/Framework/modules/interpreter/ball_tracker.h | 4 |
2 files changed, 5 insertions, 5 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;
}
}
diff --git a/source/Concept/Framework/modules/interpreter/ball_tracker.h b/source/Concept/Framework/modules/interpreter/ball_tracker.h index ed8801f..bea4a19 100755 --- a/source/Concept/Framework/modules/interpreter/ball_tracker.h +++ b/source/Concept/Framework/modules/interpreter/ball_tracker.h @@ -10,14 +10,14 @@ public: {
this->parent = NULL;
this->moduleId = 0;
- this->direction = -1.0f;
+ this->direction = EMPTY_FLOAT;
}
Ball_Tracker(uint32 trackerId)
{
this->parent = NULL;
this->moduleId = trackerId;
- this->direction = -1.0f;
+ this->direction = EMPTY_FLOAT;
}
protected:
|