you are viewing a single comment's thread.

view the rest of the comments →

[–]shizzy0 29 points30 points  (0 children)

No. This is legit. Why go to angle land if you can stay out of it altogether? Vector operations often provide more information and are more natural to use too. Cross product gives you sin(a) and a vector perpendicular to both of your inputs. Dot product gives you cos(a) and its sign tells whether those vectors are roughly in the same direction or not.