[]
        
(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)
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)
Parameters
Type Name Description
Vector2 result

The vector resulting from the division.

Vector2 left

The first vector.

Vector2 right

The second vector.