g/s/surface: don't ignore the first accept test

This commit is contained in:
Danny Robson 2020-10-27 16:40:18 +10:00
parent 58d86bbc95
commit 4b57e373f9

View File

@ -70,7 +70,7 @@ namespace cruft::geom::sample {
if (!accept (p))
continue;
selected.push_back (sampler.eval (gen));
selected.push_back (p);
break;
}