store method

  1. @override
void store(
  1. int index,
  2. Vector2 vector
)
override

Store vector in the list at index.

Implementation

@override
void store(int index, Vector2 vector) {
  final i = _vectorIndexToBufferIndex(index);
  final storage = vector.storage;
  _buffer[i + 0] = storage[0];
  _buffer[i + 1] = storage[1];
}