times

open operator override fun times(scalar: Double): Vec3

Creates new vector containing this vector multiplied by a scalar.

Return

new vector containing this vector multiplied by a scalar.

Parameters

scalar

the scalar to multiply this vector by