Sequence of 2D vectors for batch operations
Append a vector to the end of the array.
Parameter: | vector (Vec2 or 2-number sequence.) – Vector to append. |
---|
Clamp the length of the vectors in this array in place between min_length and max_length.
Parameters: |
|
---|
Create a new array of vectors with lengths clamped between min_length and max_length.
Parameters: |
|
---|---|
Return type: | Vec2Array |
Append all vectors in iterable to the end of the array.
Parameter: | iterable – Iterable object containing vectors. |
---|
Insert a vector at the specified index.
Parameters: |
|
---|
Create a new array containing normalized vectors calculated from this array.
Return type: | Vec2Array |
---|