I need to figure out how to calculate on which side of a line a point is. I'm searching a really fast and simple collision algorithm because I just need to know on what side a object is to define a collision state.
Just like:
if(x > line.x)
return EnumSide.LEFT;
But the line needs to be diagonally. Any ideas?