setX method
Sets the x component of the item at the given index.
Implementation
@override
InterleavedBufferAttribute setX(int index, num x) {
data!.array[index * data!.stride + offset] = x.toDouble();
return this;
}
Sets the x component of the item at the given index.
@override
InterleavedBufferAttribute setX(int index, num x) {
data!.array[index * data!.stride + offset] = x.toDouble();
return this;
}