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
| Parameter | Type |
|---|---|
a | ReadonlyVec3 |
b | ReadonlyVec3 |