perpDot

infix inline fun perpDot(other: Vector2F): Float

Returns the perp dot product of this and the other vector.

Selected identities that the perpDot satisfies:

  1. a perpDot b = -b perpDot a

  2. a perpDot b = a.magnitude * b.magnitude * sin(theta)

  3. (a perpDot b)^2 + (a dot b)^2 = a.magnitude^2 * b.magnitude^2

where theta is the angle from vector a to vector b.