setValues method

void setValues (int index, double x, double y, double z, double w)

Set the vector at index to x, y, z, and w.

Implementation

void setValues(int index, double x, double y, double z, double w) {
  final int i = _vectorIndexToBufferIndex(index);
  buffer[i + 0] = x;
  buffer[i + 1] = y;
  buffer[i + 2] = z;
  buffer[i + 3] = w;
}