An ACS library for ZDoom-based ports
fixed length2d2(fixed x, fixed y)
Returns the squared length of the given 2D vector.
This is faster than squaring the result of length2d.