subtract(... , ...)

Studio

subtract(... , ...)

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

Subtracts one three-dimensional vector from another.

Parameters

Parameter Type Description
l number[] The vector being subtracted from.
r number[] The vector subtracted.

Returns

The resulting three-dimensional vector.

Open in new window