dot

fun dot(v1: Vec2): Double

Finds dotproduct between two vectors.

Return

double

Parameters

v1

Other vector to apply dotproduct to.