| 336 | } |
| 337 | |
| 338 | void PathShape::popFront() |
| 339 | { |
| 340 | if (mNodeCount < 2) |
| 341 | return; |
| 342 | |
| 343 | // Remove the first node. Node base and position are unaffected. |
| 344 | mNodeCount--; |
| 345 | delete mSpline.remove(mSpline.getKnot(0)); |
| 346 | } |
| 347 | |
| 348 | |
| 349 | //---------------------------------------------------------------------------- |
no test coverage detected