This commit is contained in:
aozhiwei 2019-03-22 17:40:04 +08:00
parent e7ff93f844
commit 923b076d57
2 changed files with 6 additions and 0 deletions

View File

@ -209,4 +209,9 @@ namespace a8
return (int)(int64_val >> 32);
}
float RandAngle()
{
float angle = ((float)rand() / RAND_MAX) * 2.0f;
}
}

View File

@ -85,6 +85,7 @@ namespace a8
int Low32(long long int64_val);
int High32(long long int64_val);
float RandAngle();
}
#endif