Add vector to the vector at index.
vector
index
void add(int index, Vector2 vector) { final i = _vectorIndexToBufferIndex(index); final storage = vector.storage; buffer[i + 0] += storage[0]; buffer[i + 1] += storage[1]; }