From e5a12a4cb1b990da09f3dc2876bfbdffeb291fe7 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 1 Sep 2013 22:17:29 -0400 Subject: [PATCH] add static Random instance for convenience --- Blarg.GameFramework/Math/MathHelpers.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blarg.GameFramework/Math/MathHelpers.cs b/Blarg.GameFramework/Math/MathHelpers.cs index 7e2d64f..15fbf32 100644 --- a/Blarg.GameFramework/Math/MathHelpers.cs +++ b/Blarg.GameFramework/Math/MathHelpers.cs @@ -5,6 +5,8 @@ namespace Blarg.GameFramework { public static class MathHelpers { + public static Random Random = new Random(); + /// /// Converts coordinates from spherical to cartesian. ///