From 354ef5f0d0ad5487288e8d25fc9b1fcecf730eba Mon Sep 17 00:00:00 2001 From: masterm Date: Mon, 19 Feb 2007 17:15:02 +0000 Subject: +++ improved navigator --- source/Concept/Framework/modules/interpreter/ball_tracker.c | 6 +++--- source/Concept/Framework/modules/interpreter/ball_tracker.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/Concept/Framework/modules/interpreter') 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: -- cgit v1.2.3