geom/sample: surface sampler should take constref
This commit is contained in:
parent
05f8787c91
commit
4bb66d2c05
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user