:(
This commit is contained in:
parent
de25b0a0f5
commit
7a838d4a51
@ -81,7 +81,7 @@ namespace Aurora::RNG
|
||||
template<typename T>
|
||||
static inline T &RngArray(T *items, AuUInt count)
|
||||
{
|
||||
return items[static_cast<int>(std::floor(static_cast<float>(RngByte()) / 255.f * static_cast<float>(count - 1))];
|
||||
return items[static_cast<int>(std::floor(static_cast<float>(RngByte()) / 255.f * static_cast<float>(count - 1)))];
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user