|
inlinestaticconstexpr |
Calculates arctangent of y/x, handling all quadrants correctly.
This is the full-quadrant arctangent function that takes into account the signs of both inputs to determine the correct quadrant.
The function uses a lookup table for the arctangent values and handles special cases (x=0, y=0) separately to ensure correct quadrant determination.
y | Y coordinate |
x | X coordinate |