From 866b09992668f97af063dcd77dc5dd0e3a512b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 24 Mar 2016 00:11:28 +0100 Subject: New Random class for convenient random number generation. --- src/velocity.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/velocity.h') 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 #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__*/ -- cgit v1.2.3