diff options
author | André Nusser <andre.nusser@googlemail.com> | 2016-03-24 00:11:28 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2016-03-29 22:18:48 +0200 |
commit | 866b09992668f97af063dcd77dc5dd0e3a512b94 (patch) | |
tree | dfeffaa3eb1a559d746d04f3fbb7402e74d1b290 /src/velocity.h | |
parent | efe93864d53f72be4fa4dfe003f0f7578fc558e2 (diff) |
New Random class for convenient random number generation.
Diffstat (limited to 'src/velocity.h')
-rw-r--r-- | src/velocity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/velocity.h b/src/velocity.h index 439ca68..c62ddad 100644 --- a/src/velocity.h +++ b/src/velocity.h @@ -30,6 +30,7 @@ #include <map> #include "sample.h" +#include "random.h" class Velocity { public: @@ -44,6 +45,8 @@ public: private: typedef std::map< Sample *, float > Samples; Samples samples; + + Random rand; }; #endif/*__DRUMGIZMO_VELOCITY_H__*/ |