refactor(*): make type alias identifiers conform to the style for general type identifiers
This commit is contained in:
@ -10,15 +10,15 @@ NAMESPACE_BEGIN(Math)
|
||||
|
||||
NAMESPACE_UNNAMED_BEGIN
|
||||
|
||||
TAtomic<uint32> RandState = 586103306;
|
||||
TAtomic<uint32> GRandState = 586103306;
|
||||
|
||||
NAMESPACE_UNNAMED_END
|
||||
|
||||
uint32 Seed(uint32 InSeed)
|
||||
{
|
||||
uint32 OldSeed = RandState.Load(EMemoryOrder::Relaxed);
|
||||
uint32 OldSeed = GRandState.Load(EMemoryOrder::Relaxed);
|
||||
|
||||
if (InSeed != 0) RandState.Store(InSeed, EMemoryOrder::Relaxed);
|
||||
if (InSeed != 0) GRandState.Store(InSeed, EMemoryOrder::Relaxed);
|
||||
|
||||
return OldSeed;
|
||||
}
|
||||
@ -27,7 +27,7 @@ uint32 Rand()
|
||||
{
|
||||
uint32 Result;
|
||||
|
||||
RandState.FetchFn(
|
||||
GRandState.FetchFn(
|
||||
[&Result](uint32 Value)
|
||||
{
|
||||
Result = Value;
|
||||
|
Reference in New Issue
Block a user