div

operator fun div(other: Vector4): Vector4

Divides this Vector4 instance by another Vector4 instance.

Return

A new Vector4 instance representing the result of division.

Parameters

other

The Vector4 instance to divide by.


operator fun div(scalar: Float): Vector4

Divides this Vector4 instance by a scalar.

Return

A new Vector4 instance representing the result of division.

Parameters

scalar

The scalar to divide by.