| 169 | } |
| 170 | |
| 171 | bool EveChildLink::GetBoundingSphere( Vector4& sphere, BoundingSphereQuery query ) const |
| 172 | { |
| 173 | // place the sphere in the center of the link |
| 174 | sphere = Vector4( m_currentDirection, 1.0 ) * m_currentDistance / 2.0f; |
| 175 | |
| 176 | BoundingSphereTransform( m_worldTransform, sphere ); |
| 177 | return true; |
| 178 | } |
| 179 | |
| 180 | bool EveChildLink::IsCastingShadow( const TriFrustum& cameraFrustum, const IEveShadowFrustum& shadowFrustum, Tr2RenderReason renderReason, float& sizeInShadow ) const |
| 181 | { |
nothing calls this directly
no test coverage detected