Fixed point2d direction() function - for x-axis calculations.