Appearance
aninest root / Vec2 / dot
function dot(v1, v2): number
Calculates the dot product of two vectors.
• v1: Vec2
Vec2
• v2: Vec2
number
A scalar.
Utils/vec2.ts:148