linearly v0.32.0Docs


linearly v0.32.0 / vec4 / subtract

Function: subtract()

subtract(…vs): vec4

Subtracts given vec4’s. When the argument is a single vector, it negates it. Otherwise, it subtracts from left to right.

Parameters

• …vs: vec4[]

Returns

vec4

Shorthands

Defined in

src/vec4.ts:104open in new window