예제 #1
0
void testUniformCircle()
{
    Plot2D plot( output_path + "/random_circle.png", plot_size, plot_size );

    float x, y;
    for( auto i = 0; i < points_per_plot; i++ ) {
        rng.uniformUnitCircle( x, y );
        plot.addPoint( x, y );
    }
}