Abacus.DoublePrecision.Vector2Tests.GetNextRandomVector2 C# (CSharp) Method

GetNextRandomVector2() static private method

Helper function for getting the next random Vector2.
static private GetNextRandomVector2 ( ) : System.Vector2
return System.Vector2
        static Vector2 GetNextRandomVector2 ()
        {
            Double a = GetNextRandomDouble();
            Double b = GetNextRandomDouble();

            return new Vector2(a, b);
        }
Vector2Tests