load method
override
Retrieves the vector at index
and stores it in vector
.
Implementation
@override
void load(int index, Vector4 vector) {
final i = _vectorIndexToBufferIndex(index);
vector.storage[0] = _buffer[i + 0];
vector.storage[1] = _buffer[i + 1];
vector.storage[2] = _buffer[i + 2];
vector.storage[3] = _buffer[i + 3];
}