store method

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

Store vector in the list at index.

Implementation

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