| 2347 | } |
| 2348 | |
| 2349 | static float GetDirectionFit( const Vector3& v0, const Vector3& v1 ) |
| 2350 | { |
| 2351 | float d = -Dot( v0, v1 ); |
| 2352 | if( d < 0 ) |
| 2353 | { |
| 2354 | return ( 1 - pow( std::abs( d ), 0.5f ) ) * 0.5f; |
| 2355 | } |
| 2356 | return ( pow( std::abs( d ), 0.5f ) + 1 ) * 0.5f; |
| 2357 | } |
| 2358 | |
| 2359 | int EveSpaceObject2::GetGoodDamageLocatorIndex( const Vector3& position ) |
| 2360 | { |
no test coverage detected