| 181 | } |
| 182 | |
| 183 | void EveDistanceField::UpdateDistanceCurveSize() |
| 184 | { |
| 185 | if( m_distanceCurve ) |
| 186 | { |
| 187 | auto& keys = m_distanceCurve->GetKeys(); |
| 188 | if( keys.size() == 2 ) |
| 189 | { |
| 190 | keys[0].m_time = m_minDistance; |
| 191 | keys[1].m_time = m_maxDistance; |
| 192 | m_distanceCurve->OnKeysChanged(); |
| 193 | } |
| 194 | m_distanceCurve->SetTimeOffset( 0 ); |
| 195 | m_updateDistanceCurve = false; |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | void EveDistanceField::CreateCurveSet() |
| 200 | { |
nothing calls this directly
no test coverage detected