diff options
author | jaseg <git@jaseg.de> | 2021-01-27 01:26:54 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-01-27 01:26:54 +0100 |
commit | 9711fabab7893fcdd0a5708c79a7d48f2ad15167 (patch) | |
tree | a0af6000c47a5acc1b7ac8f6c802529b8af43f97 /src/vec_grid.cpp | |
parent | 5285b6dce8f0df37282b744ce625d4976b0f2541 (diff) | |
download | gerbolyze-9711fabab7893fcdd0a5708c79a7d48f2ad15167.tar.gz gerbolyze-9711fabab7893fcdd0a5708c79a7d48f2ad15167.tar.bz2 gerbolyze-9711fabab7893fcdd0a5708c79a7d48f2ad15167.zip |
WIP render settings
Diffstat (limited to 'src/vec_grid.cpp')
-rw-r--r-- | src/vec_grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vec_grid.cpp b/src/vec_grid.cpp index 2a61153..7c27543 100644 --- a/src/vec_grid.cpp +++ b/src/vec_grid.cpp @@ -39,7 +39,7 @@ sampling_fun gerbolyze::get_sampler(enum grid_type type) { vector<d2p> *gerbolyze::sample_poisson_disc(double w, double h, double center_distance) { d2p top_left {0, 0}; d2p bottom_right {w, h}; - return new auto(thinks::PoissonDiskSampling(center_distance, top_left, bottom_right)); + return new auto(thinks::PoissonDiskSampling(center_distance/2.5, top_left, bottom_right)); } vector<d2p> *gerbolyze::sample_hexgrid(double w, double h, double center_distance) { |