Skip to content

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 ​

ParameterType
aReadonlyVec3
bReadonlyVec3

Returns ​

number