| 3728 | } |
| 3729 | |
| 3730 | float EveSpaceObject2::GetRenderPriority( const ImpostorHash& oldHash, const ImpostorHash& newHash ) const |
| 3731 | { |
| 3732 | float dotView = Dot( oldHash.viewDir, newHash.viewDir ); |
| 3733 | float dotUp = Dot( oldHash.upDir, newHash.upDir ); |
| 3734 | return std::max( 1.f - dotView, 1.f - dotUp ); |
| 3735 | } |
| 3736 | |
| 3737 | bool EveSpaceObject2::GetImpostorBoundingSphere( Vector4& sphere ) const |
| 3738 | { |