Artemis.Plugins.LayerBrushes.Particle.Extension.RandomBetween C# (CSharp) Method

RandomBetween() public static method

public static RandomBetween ( Random rnd, float a, float b ) : float
rnd Random
a float
b float
return float
        public static float RandomBetween(this Random rnd, float a, float b) => (float)((rnd.NextDouble() * (b - a)) + a);