| 113 | } |
| 114 | |
| 115 | void TrackObject::SetFinalPoint(int32_t x, int32_t y) |
| 116 | { |
| 117 | if (mValid && mRoot) |
| 118 | { |
| 119 | mX1 = (2.0f * x - mXSize) * mMultiplier; |
| 120 | mY1 = (2.0f * y - mYSize) * mMultiplier; |
| 121 | if (mX1 != mX0 || mY1 != mY0) |
| 122 | { |
| 123 | OnSetFinalPoint(); |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | void TrackObject::NormalizeAndUpdateRoot(Matrix4x4<float>& rotate) |
| 129 | { |
no outgoing calls
no test coverage detected