dot

open infix override fun dot(vector: ImmutableVector2): Float

Returns the dot product of this vector by the given vector


fun dot(otherX: Float, otherY: Float): Float

Returns the dot product of this vector by the given (otherX, otherY) vector