I would like to know why angle() function goes into negatives after 180°. I would like it to go to 360° because my algorithm based on angle detected between an object and touch input fails for:
If value angle(x1,y1,x2,y2) is between values 135°&225° --->do something. it fails after 180°.
It also fails if i do: 135°&-135°
I figured this out with another way but again I have the feeling that this function is broken.
Please explain me.
Plus the angle values are invetrted compared to the normal angle behavior in construct. (I've included an image)