dot(... , ...)

dot(l : number[], r : number[]) : number;

Calculates the dot product of two three-dimensional vectors.

Parameters

Parameter Type Description
l number[] The first vector.
r number[] The second vector.

Returns

The resulting dot product as a single number.

zapcode branded_zapcode i