Documentation / @sw-file-lib/core / math / dotVec3
Function: dotVec3()
ts
function dotVec3(a: ReadonlyVec3, b: ReadonlyVec3): number;Defined in: math/vec3.ts:74
Return the dot product of two vectors.
Parameters
| Parameter | Type |
|---|---|
a | ReadonlyVec3 |
b | ReadonlyVec3 |
Returns
number