Night Owl 7 years ago
parent
commit
aaf81c7709
  1. 2
      pm_shared/pm_math.c

2
pm_shared/pm_math.c

@ -239,7 +239,7 @@ float AngleBetweenVectors( const vec3_t v1, const vec3_t v2 ) @@ -239,7 +239,7 @@ float AngleBetweenVectors( const vec3_t v1, const vec3_t v2 )
if( !l1 || !l2 )
return 0.0f;
angle = acos( DotProduct( v1, v2 ) ) / ( l1 * l2 );
angle = acos( DotProduct( v1, v2 ) / ( l1 * l2 ) );
angle = ( angle * 180.0f ) / M_PI;
return angle;

Loading…
Cancel
Save