| 112 | } |
| 113 | |
| 114 | CameraSpline::Knot* CameraSpline::remove(Knot *w) |
| 115 | { |
| 116 | if (w->next == mFront && w->prev == mFront) |
| 117 | mFront = NULL; |
| 118 | else |
| 119 | { |
| 120 | w->prev->next = w->next; |
| 121 | w->next->prev = w->prev; |
| 122 | if (mFront == w) |
| 123 | mFront = w->next; |
| 124 | } |
| 125 | --mSize; |
| 126 | mIsMapDirty = true; |
| 127 | return w; |
| 128 | } |
| 129 | |
| 130 | |
| 131 | void CameraSpline::removeAll() |
no outgoing calls
no test coverage detected