times

open operator override fun times(scale: Double): Vector2(source)

Multiplies the current instance by the specified scalar value.

Return

An instance of type T scaled by the specified factor.

Parameters

scale

The scalar factor by which the instance is multiplied.


operator fun times(v: Vector2): Vector2(source)