div

operator fun div(v: Vector4): Vector4(source)


open operator override fun div(scale: Double): Vector4(source)

Divides the current object by the given scale factor.

Return

The result of the division as a new instance of type T.

Parameters

scale

The divisor used to scale down the current object.


Calculates Vector3 by dividing x, y, z by w.