aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-10-23 23:30:54 +0200
committerRenaud G <renaud@rolisteam.org>2016-10-23 23:30:54 +0200
commit852259b33141281693efa8ccfec4d62affdaab82 (patch)
tree97b9a36526f5afec6ed4227e22f58c0599ff1f9c /die.h
parentc3f5e98149b6ea6203887f6660ceae2bda0badd2 (diff)
downloadOneRoll-852259b33141281693efa8ccfec4d62affdaab82.tar.gz
OneRoll-852259b33141281693efa8ccfec4d62affdaab82.zip
-optimizing the random generation.
Diffstat (limited to 'die.h')
-rw-r--r--die.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/die.h b/die.h
index e29f10d..6f3af8c 100644
--- a/die.h
+++ b/die.h
@@ -138,6 +138,8 @@ private:
quint64 m_faces;
qint64 m_base;
QString m_color;
+
+ std::mt19937 m_rng;
};