sub method

void sub (int index, Vector3 vector)

Substract vector from the vector at index.

Implementation

void sub(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];
}