Skip to content

subtract(... , ...)

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

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

Subtracts one three-dimensional vector from another.

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

The resulting three-dimensional vector.