setX( index, x ) {

		if ( this.normalized ) x = normalize( x, this.array );

		this.array[ index * this.itemSize ] = x;

		return this;

	}
Sets the x component of the vector at the given index.

@param {number} index - The index into the buffer attribute.
@param {number} x - The value to set.
@return {BufferAttribute} A reference to this instance.