Rotating 5 degrees in 2D will give you a 5 degree difference, but after you normalize the vector you end up with 5 degrees over the square root of 2.
Just like a triangle with 2 sides of a length of 1 gives a hypotenuse of 1/sqrt(2), this will give you 5/sqrt(2), or 3.5355333906f
My guess is that if you didn't normalize them you might get 5 degrees from your acos(dot product), rather than 5/sqrt(2).
EDIT:
If you want to see if they're facing the same way, just use their forward vectors from their rotation matrix, and a dot product. If the dot products are fairly close to 1.0f then they're facing the same direction.
XNA QuickStart Engine |
My site"I'll be whatever I want to do!", Philip J. Fry