geom/sample: surface sampler should take constref

This commit is contained in:
Danny Robson 2018-04-26 18:36:29 +10:00
parent 05f8787c91
commit 4bb66d2c05

View File

@ -85,7 +85,7 @@ namespace util::geom {
class sampler;
template <typename ShapeT>
sampler (ShapeT) -> sampler<std::decay_t<ShapeT>>;
sampler (ShapeT const&) -> sampler<std::decay_t<ShapeT>>;
/// approximate a poisson disc sampling through mitchell's best candidate.
///