1
This commit is contained in:
parent
d6786bcdb1
commit
a25550d418
@ -245,6 +245,11 @@ namespace a8
|
|||||||
return (int)(int64_val >> 32);
|
return (int)(int64_val >> 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int MkRgb(int red, int green, int blue)
|
||||||
|
{
|
||||||
|
return red | (green << 8) | (blue << 16) ;
|
||||||
|
}
|
||||||
|
|
||||||
float RandAngle()
|
float RandAngle()
|
||||||
{
|
{
|
||||||
float angle = 0.00001f + ((float)rand() / RAND_MAX) * 2.0f;
|
float angle = 0.00001f + ((float)rand() / RAND_MAX) * 2.0f;
|
||||||
|
@ -87,6 +87,8 @@ namespace a8
|
|||||||
int Low32(long long int64_val);
|
int Low32(long long int64_val);
|
||||||
int High32(long long int64_val);
|
int High32(long long int64_val);
|
||||||
|
|
||||||
|
int MkRgb(int red, int green, int blue);
|
||||||
|
|
||||||
float RandAngle();
|
float RandAngle();
|
||||||
|
|
||||||
void ClearSendQueue(a8::SendQueueNode* node);
|
void ClearSendQueue(a8::SendQueueNode* node);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user