mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 18:13:47 +02:00
grab jeffrey's changes to Util consts
This commit is contained in:
parent
2b49442039
commit
861c8e76ee
1 changed files with 7 additions and 7 deletions
|
@ -18,9 +18,9 @@
|
|||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
static const double ZERO = 0.0;
|
||||
static const double ONE = 1.0;
|
||||
static const double ONE_HALF = 0.5;
|
||||
static const float ZERO = 0.0;
|
||||
static const float ONE = 1.0;
|
||||
static const float ONE_HALF = 0.5;
|
||||
static const double ONE_THIRD = 0.3333333;
|
||||
static const double PIE = 3.14159265359;
|
||||
static const double PI_TIMES_TWO = 3.14159265359 * 2.0;
|
||||
|
@ -28,10 +28,10 @@ static const double PI_OVER_180 = 3.14159265359 / 180.0;
|
|||
static const double EPSILON = 0.00001; //smallish number - used as margin of error for some computations
|
||||
static const double SQUARE_ROOT_OF_2 = sqrt(2);
|
||||
static const double SQUARE_ROOT_OF_3 = sqrt(3);
|
||||
static const double METER = 1.0;
|
||||
static const double DECIMETER = 0.1;
|
||||
static const double CENTIMETER = 0.01;
|
||||
static const double MILLIIMETER = 0.001;
|
||||
static const float METER = 1.0;
|
||||
static const float DECIMETER = 0.1;
|
||||
static const float CENTIMETER = 0.01;
|
||||
static const float MILLIIMETER = 0.001;
|
||||
|
||||
double usecTimestamp(timeval *time);
|
||||
double usecTimestampNow();
|
||||
|
|
Loading…
Reference in a new issue