| 141 | } |
| 142 | |
| 143 | void DisplayItem::SetPosition(const Vector3& pos, bool disableInterpolation) |
| 144 | { |
| 145 | constexpr auto DELTA_TOLERANCE = 100.0f; |
| 146 | |
| 147 | if (!_wasInterpolated || disableInterpolation || Vector3::Distance(pos, _position) > DELTA_TOLERANCE) |
| 148 | _prevPosition = pos; |
| 149 | |
| 150 | _position = pos; |
| 151 | } |
| 152 | |
| 153 | void DisplayItem::SetOrientation(const EulerAngles& orient, bool disableInterpolation) |
| 154 | { |
no outgoing calls
no test coverage detected