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