Skip to content

Documentation / @sw-file-lib/core / math / subVec3

Function: subVec3() ​

ts
function subVec3(a: ReadonlyVec3, b: ReadonlyVec3): Vec3;

Defined in: math/vec3.ts:56

Subtract b from a component-wise.

Parameters ​

ParameterType
aReadonlyVec3
bReadonlyVec3

Returns ​

Vec3