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