[]
        
(Showing Draft Content)

C1.Util.DX.Vector2.Divide

Divide Method

Divide(Vector2, float)

Divides the specified vector by a specified scalar value.

Declaration
public static Vector2 Divide(Vector2 left, float divisor)
Parameters
Type Name Description
Vector2 left

The vector.

float divisor

The scalar value.

Returns
Type Description
Vector2

The vector that results from the division.

Divide(Vector2, Vector2)

Divides the first vector by the second.

Declaration
public static Vector2 Divide(Vector2 left, Vector2 right)
Parameters
Type Name Description
Vector2 left

The first vector.

Vector2 right

The second vector.

Returns
Type Description
Vector2

The vector resulting from the division.