aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/Random.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-02-11 22:13:40 +0100
committerShauren <shauren.trinity@gmail.com>2022-02-11 22:13:40 +0100
commit3fca1dad20a69257504fea1d143bce42296f647c (patch)
tree4468af0a77e32f868f01d2e85d40a0d6d39d164f /dep/g3dlite/source/Random.cpp
parent665bab608c739764a2fe0b4e5ae1f7c37c5814a1 (diff)
Dep/g3d: Purge Windows.h includes from headers we include
Diffstat (limited to 'dep/g3dlite/source/Random.cpp')
-rw-r--r--dep/g3dlite/source/Random.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/dep/g3dlite/source/Random.cpp b/dep/g3dlite/source/Random.cpp
index cbfa07dec0b..a31d52a557c 100644
--- a/dep/g3dlite/source/Random.cpp
+++ b/dep/g3dlite/source/Random.cpp
@@ -227,4 +227,9 @@ void Random::sphere(float& x, float& y, float& z) {
z *= s;
}
+Random& commonRandom()
+{
+ return Random::common();
+}
+
} // G3D