CCarCtrl::GenerateOneRandomVehicle!

This commit is contained in:
Nikolay Korolev
2019-08-07 00:32:19 +03:00
parent 20d1381a0f
commit 4ae4bc94c6
16 changed files with 599 additions and 8 deletions

View File

@@ -179,7 +179,7 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con
#define max(a, b) (((a) > (b)) ? (a) : (b))
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define ABS(a) (((a) < 0) ? (-a) : (a))
#define ABS(a) (((a) < 0) ? (-(a)) : (a))
#define norm(value, min, max) (((value) < (min)) ? 0 : (((value) > (max)) ? 1 : (((value) - (min)) / ((max) - (min)))))