Skip to content

Commit

Permalink
add fractal
Browse files Browse the repository at this point in the history
  • Loading branch information
AsPJT committed Jan 25, 2019
1 parent 526d570 commit 7b3914f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DungeonTemplateLibrary/FractalIsland.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ namespace dtl {
}
//ワールドマップ生成
template<typename Matrix_>
constexpr void create(Matrix_& matrix_, std::size_t seed_ = 0, const std::int_fast32_t max_value_ = 255) const noexcept {
void create(Matrix_& matrix_, std::size_t seed_ = 0, const std::int_fast32_t max_value_ = 255) const noexcept {
if (matrix_.size() == 0 || matrix_[0].size() == 0) return;

if (seed_ == 0) seed_ = static_cast<std::size_t>(rnd(1, 0x7fffffff));
Expand Down Expand Up @@ -156,7 +156,7 @@ namespace dtl {
}
//ワールドマップ生成
template<typename Matrix_>
constexpr void create(Matrix_& matrix_, std::size_t seed_ = 0, const std::int_fast32_t max_value_ = 255) const noexcept {
void create(Matrix_& matrix_, std::size_t seed_ = 0, const std::int_fast32_t max_value_ = 255) const noexcept {
if (matrix_.size() == 0 || matrix_[0].size() == 0) return;

if (seed_ == 0) seed_ = static_cast<std::size_t>(rnd(1, 0x7fffffff));
Expand Down

0 comments on commit 7b3914f

Please sign in to comment.