diff options
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:
|