Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void pop(int index)

Removes the PVector at the specified index

Parameter

  • index: The index of the PVector to remove

Example

VectorArr arr({PVector(1, 2, 3), PVector(4, 5, 6)});
arr.pop(0);
//arr.arr = [[4, 5, 6]]