Skip to content

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

Function: addVec3() ​

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

Defined in: math/vec3.ts:47

Add two vectors component-wise.

Parameters ​

ParameterType
aReadonlyVec3
bReadonlyVec3

Returns ​

Vec3