Rename box_point_distribution -> uniform_box_point_distribution

This commit is contained in:
Nikita Lisitsa 2020-10-02 19:11:47 +03:00
parent af5bf48533
commit 8348feac9e

View file

@ -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)