make confidence unsigned char
This commit is contained in:
parent
de5832b413
commit
93065935ad
@ -18,9 +18,10 @@ public:
|
||||
float radius;
|
||||
Sensor *sensor = nullptr;
|
||||
|
||||
static constexpr char maxConfidence = 255;
|
||||
static constexpr char confidenceDropSpeed = 2;
|
||||
char confidence;
|
||||
static constexpr unsigned char maxConfidence = 255;
|
||||
static constexpr unsigned char confidenceDropSpeed = 2;
|
||||
unsigned char confidence;
|
||||
|
||||
bool DegradeConfidence(float deltaTime);
|
||||
void Refresh(Polar position, float radius);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user