times

open operator override fun times(scalar: Double): Vec2(source)

Scale this vector by a scalar value.

Parameters

scalar

The scalar value to multiply the vector by.