scalarMultiply(... , ...)

Studio

scalarMultiply(... , ...)

scalarMultiply(l : number[], r : number) : number[];

Multiplies a three-dimensional vector by a single value.

Parameters

Parameter Type Description
l number[] The vector to multiply.
r number The value to multiply by.

Returns

The resulting three-dimensional vector.

Open in new window