This commit is contained in:
Night Owl 2017-07-24 16:56:43 +05:00
parent 4150b464a0
commit aaf81c7709
1 changed files with 1 additions and 1 deletions

View File

@ -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;