Skip to content

Documentation / @ripl/3d / vec3Sub

Function: vec3Sub() ​

vec3Sub(a, b): Vector3

Defined in: 3d/src/math/vector.ts:14

Returns the component-wise difference of two vectors.

Parameters ​

ParameterType
aVector3
bVector3

Returns ​

Vector3