[]
        
(Showing Draft Content)

C1.Util.DX.Vector2.DivideRef

DivideRef Method

DivideRef(out Vector2, ref Vector2, float)

Divides the specified vector by a specified scalar value.

Declaration
public static void DivideRef(out Vector2 result, ref Vector2 left, float divisor)
Public Shared Sub DivideRef(ByRef result As Vector2, ByRef left As Vector2, divisor As Single)
Parameters
Type Name Description
Vector2 result

The vector that results from the division.

Vector2 left

The vector.

float divisor

The scalar value.

DivideRef(out Vector2, ref Vector2, ref Vector2)

Divides the first vector by the second.

Declaration
public static void DivideRef(out Vector2 result, ref Vector2 left, ref Vector2 right)
Public Shared Sub DivideRef(ByRef result As Vector2, ByRef left As Vector2, ByRef right As Vector2)
Parameters
Type Name Description
Vector2 result

The vector resulting from the division.

Vector2 left

The first vector.

Vector2 right

The second vector.