aboutsummaryrefslogtreecommitdiff
path: root/src/vec_grid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vec_grid.cpp')
-rw-r--r--src/vec_grid.cpp2
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) {