public void Draw(GraphicsDevice GraphicsDevice, GraphicsDeviceManager graphics, SpriteBatch spriteBatch, RenderTarget2D defaultRenderTarget, float width, float height)
{
//GraphicsDevice.SetVertexBuffer(new VertexBuffer(
//GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, numVertices, 0, primitiveCount);
//GraphicsDevice.DrawUserPrimitives<CascadeVertex>(PrimitiveType.TriangleList, Vertices, 0, primitiveCount);
foreach (var p in particles)
{
p.Draw(GraphicsDevice, graphics, spriteBatch, defaultRenderTarget, width, height);
}
}
}