| 390 | } |
| 391 | |
| 392 | void PathCamera::popFront() |
| 393 | { |
| 394 | if (mNodeCount < 2) |
| 395 | return; |
| 396 | |
| 397 | // Remove the first node. Node base and position are unaffected. |
| 398 | mNodeCount--; |
| 399 | delete mSpline.remove(mSpline.getKnot(0)); |
| 400 | |
| 401 | if( mPosition > 0 ) |
| 402 | mPosition --; |
| 403 | } |
| 404 | |
| 405 | |
| 406 | //---------------------------------------------------------------------------- |
no test coverage detected