diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-06-14 10:26:11 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-06-14 10:31:13 -0400 |
| commit | 189d277cfc66d6e3d1c17e5fb60d72cfb6c3f844 (patch) | |
| tree | 5a44a75588ffe2eda6cd620179fe3e2ae7ff4a33 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | e69c6cdaab8b4280b499c886e815e919f4999902 (diff) | |
Common/Random: Add convenience template for simple arithmetic values
In cases where we just want a random value for a primitive arithmetic
type, we can wrap this in a template to allow convenient direct
assignment instead of keeping declaration and initialization separate
(making it more difficult to use values uninitialized). This also allows
the use of Common::Random with functions such as std::generate, making
it more flexible in how random values can be generated.
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions
