constructor( count, curveCount, geometry, material ) {

		const mesh = new InstancedMesh(
			geometry,
			material,
			count
		);
		mesh.instanceMatrix.setUsage( DynamicDrawUsage );
		mesh.frustumCulled = false;
		super( mesh, curveCount );

		this.offsets = new Array( count ).fill( 0 );
		this.whichCurve = new Array( count ).fill( 0 );

	}
Constructs a new InstancedFlow instance.

@param {number} count - The number of instanced elements.
@param {number} curveCount - The number of curves to preallocate for.
@param {Geometry} geometry - The geometry to use for the instanced mesh.
@param {Material} material - The material to use for the instanced mesh.