setValues method Null safety
Set the vector at index
to x
and y
.
Implementation
void setValues(int index, double x, double y) {
final i = _vectorIndexToBufferIndex(index);
buffer[i + 0] = x;
buffer[i + 1] = y;
}
Set the vector at index
to x
and y
.
void setValues(int index, double x, double y) {
final i = _vectorIndexToBufferIndex(index);
buffer[i + 0] = x;
buffer[i + 1] = y;
}