aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/Random.cpp
diff options
context:
space:
mode:
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