recursive_division_generator.hxx
Go to the documentation of this file.
1 /*===========================================================================================================
7 * Licensed under the MIT License, you may not use this file except in compliance with the License.
12 * Unless required by applicable law or agreed to in writing, software distributed under the License is
13 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and limitations under the License.
19 *=========================================================================================================*/
57 std::unique_ptr<Maze> operator()(const uint32_t width, const uint32_t height, const uint32_t seed = 0)
Definition: grid.hxx:65
Maze::Point Point
Definition: recursive_division_generator.hxx:55
void DisconnectCol(const Point &origin, const uint32_t idx, const uint32_t height, const uint32_t pathIdx)
Definition: grid.hxx:150
Definition: grid.hxx:44
Definition: combinations.hxx:26
Maze::Cell Cell
Definition: recursive_division_generator.hxx:54
static void Compute(std::mt19937 &mt, Maze &maze, const Point &origin, const uint32_t width, uint32_t height)
Definition: recursive_division_generator.hxx:72
std::unique_ptr< Maze > operator()(const uint32_t width, const uint32_t height, const uint32_t seed=0)
Definition: recursive_division_generator.hxx:57
void DisconnectRow(const Point &origin, const uint32_t idx, const uint32_t width, const uint32_t pathIdx)
Definition: grid.hxx:177
Point struct is a convenient struct use to represent a 2D point for a grid (index position)...
Definition: grid.hxx:56
Grid< CellInfoBase > Maze
Definition: recursive_division_generator.hxx:53