diff --git a/Source/Engine/Utilities/Extensions.cs b/Source/Engine/Utilities/Extensions.cs index 1e22df1c4..a47a38ecb 100644 --- a/Source/Engine/Utilities/Extensions.cs +++ b/Source/Engine/Utilities/Extensions.cs @@ -304,7 +304,7 @@ namespace FlaxEngine.Utilities do { - // Create random float with a mean of 0 and deviation of ±1; + // Create random float with a mean of 0 and deviation of ±1 output.X = NextFloat(random) * 2.0f - 1.0f; output.Y = NextFloat(random) * 2.0f - 1.0f; output.Z = NextFloat(random) * 2.0f - 1.0f; @@ -361,9 +361,9 @@ namespace FlaxEngine.Utilities /// Gets a random . /// /// An instance of . - /// The minimum value - /// The maximum value - /// A random + /// The minimum value. + /// The maximum value. + /// A random . public static double NextDouble(this Random random, double min = 0.0d, double max = 2.0d) { return random.NextDouble() * (max - min) + min; @@ -373,7 +373,7 @@ namespace FlaxEngine.Utilities /// Gets a random . /// /// An instance of . - /// A random + /// A random . internal static long NextLong(this Random random) { var numArray = new byte[8];