| 36 | } |
| 37 | |
| 38 | void NetElementGroup::enableNetInterpolation(float extrapolationHint) { |
| 39 | m_interpolationEnabled = true; |
| 40 | m_extrapolationHint = extrapolationHint; |
| 41 | for (auto& p : m_elements) { |
| 42 | if (p.second) |
| 43 | p.first->enableNetInterpolation(extrapolationHint); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | void NetElementGroup::disableNetInterpolation() { |
| 48 | m_interpolationEnabled = false; |