Skip to content

Documentation / @ripl/3d / vec2Dot

Function: vec2Dot() ​

vec2Dot(a, b): number

Defined in: 3d/src/math/vector2.ts:30

Computes the dot product of two vectors.

Parameters ​

ParameterType
aVector2
bVector2

Returns ​

number