dot

final static Float dot(Vector2D $self, Vector2D other)

Calculates the dot product of two vectors