VectorArr
A class that represents an array of PVectors
Explanation
This class is basically just a kinda bad wrapper for a deque<PVector> it has really only two reasons for existence:
- To make code more readable (it’s easier to understand what a
VectorArris than adeque<PVector>just by looking at it) - To make the methods better named (I really don’t like the C++ convention of putting underscores in variable names)
Table of contents
- VectorArr(initializer_list<PVector>)
- arr
- begin()
- end()
- first()
- getCurveLength()
- last()
- operator[](int)
- pop(int)
- popBase()
- popEnd()
- push(PVector)
- pushBase(PVector)
- size()