summaryrefslogtreecommitdiffstats
path: root/source/Concept/Framework/modules/interpreter
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
parentc3ce4e70692504c2179219f0dc9c04732353aa54 (diff)
downloadrc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.tar
rc2007-soccer-354ef5f0d0ad5487288e8d25fc9b1fcecf730eba.zip
+++ improved navigator
Diffstat (limited to 'source/Concept/Framework/modules/interpreter')
-rwxr-xr-xsource/Concept/Framework/modules/interpreter/ball_tracker.c6
-rwxr-xr-xsource/Concept/Framework/modules/interpreter/ball_tracker.h4
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: