Abacus.SinglePrecision.Vector2Tests.GetNextRandomVector2 C# (CSharp) Méthode

GetNextRandomVector2() static private méthode

Helper function for getting the next random Vector2.
static private GetNextRandomVector2 ( ) : System.Vector2
Résultat System.Vector2
        static Vector2 GetNextRandomVector2 ()
        {
            Single a = GetNextRandomSingle();
            Single b = GetNextRandomSingle();

            return new Vector2(a, b);
        }
Vector2Tests