Skip to content

dotProduct

dotProduct(a, b): number

Defined in: src/util/misc/vectors.ts:83

Dot product of two vectors in 2D

Parameters

a

Point

b

Point

Returns

number