I am trying to detect if my point (x & y) are over my ray (rayrot).
This is the best I could come up with, but it's not working. How should I do this?
Code:
if ( x > cos ( rayrot ) * y && y > sin ( rayrot ) * x )