An ACS library for ZDoom-based ports
fixed dot2(fixed x1, fixed y1, fixed x2, fixed y2)
Returns the dot product of two 2D vectors.