Rename box_point_distribution -> uniform_box_point_distribution
This commit is contained in:
parent
af5bf48533
commit
8348feac9e
1 changed files with 3 additions and 3 deletions
|
|
@ -8,11 +8,11 @@ namespace psemek::pcg
|
|||
{
|
||||
|
||||
template <typename T, std::size_t N>
|
||||
struct box_point_distribution
|
||||
struct uniform_box_point_distribution
|
||||
{
|
||||
using result_type = geom::point<T, N>;
|
||||
|
||||
box_point_distribution(geom::box<T, N> const & b)
|
||||
uniform_box_point_distribution(geom::box<T, N> const & b)
|
||||
{
|
||||
for (std::size_t i = 0; i < N; ++i)
|
||||
{
|
||||
|
|
@ -20,7 +20,7 @@ namespace psemek::pcg
|
|||
}
|
||||
}
|
||||
|
||||
box_point_distribution() = default;
|
||||
uniform_box_point_distribution() = default;
|
||||
|
||||
template <typename RNG>
|
||||
auto operator()(RNG && rng)
|
||||
Loading…
Add table
Reference in a new issue