ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / Vector2 Structure / SubtractRef Method
When the method completes, contains the difference of the two vectors.
The first vector to subtract.
The second vector to subtract.

In This Topic
    SubtractRef Method (Vector2)
    In This Topic
    Subtracts two vectors.
    Syntax
    'Declaration
     
    Public Shared Sub SubtractRef( _
       ByRef result As Vector2, _
       ByRef left As Vector2, _
       ByRef right As Vector2 _
    ) 
    public static void SubtractRef( 
       out Vector2 result,
       ref Vector2 left,
       ref Vector2 right
    )

    Parameters

    result
    When the method completes, contains the difference of the two vectors.
    left
    The first vector to subtract.
    right
    The second vector to subtract.
    See Also