dot

open infix override fun dot(other: Vec2): Double(source)

Calculate the dot product of this vector with another vector.