multiply method

void multiply (int index, Vector2 vector)

Multiply the vector at index by vector.

Implementation

void multiply(int index, Vector2 vector) {
  final int i = _vectorIndexToBufferIndex(index);
  final Float32List storage = vector.storage;
  buffer[i + 0] *= storage[0];
  buffer[i + 1] *= storage[1];
}