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