| 269 | } |
| 270 | |
| 271 | float Tr2Transform::GetSortValue() |
| 272 | { |
| 273 | Vector3 d = Tr2Renderer::GetViewPosition() - m_worldTransform.GetTranslation(); |
| 274 | float distance = Length( d ); |
| 275 | return distance * m_sortValueMultiplier; |
| 276 | } |
| 277 | |
| 278 | // -------------------------------------------------------------------------------- |
| 279 | // Description: |
no test coverage detected