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.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
l | number[] | The vector being subtracted from. |
r | number[] | The vector subtracted. |
Returns
Section titled “Returns”The resulting three-dimensional vector.