29 static void objectify(
const std::unique_ptr<maze>& m,
30 std::vector<std::tuple<int, int, int, int>>& vertices,
31 std::vector<std::vector<std::uint32_t>>& faces,
32 std::string_view sv = std::string_view{})
noexcept;
38 std::string_view sv = std::string_view{})
noexcept;
45 static void to_pixels(
const std::string& s, std::vector<std::uint8_t>& pixels,
int& width,
int& height,
46 int stride = 4) noexcept;
54 static
void to_pixels(const std::unique_ptr<
maze>& m, std::vector<std::uint8_t>& pixels,
int& width,
int& height,
int stride = 4) noexcept;
Holds mazes and provides search functions.
Definition lab.h:21
Data class representing a 2D or 3D maze.
Definition maze.h:15
String helper class.
Definition stringz.h:21
static void objectify(const std::unique_ptr< maze > &m, std::vector< std::tuple< int, int, int, int > > &vertices, std::vector< std::vector< std::uint32_t > > &faces, std::string_view sv=std::string_view{}) noexcept
Compute the 3D geometries of a maze.
static std::string stringify(const std::unique_ptr< maze > &m) noexcept
Convert a maze into a string representation.
static void objectify(lab &labyrinth, std::string_view sv=std::string_view{}) noexcept
Compute the 3D geometries of a maze.
static void to_pixels(const std::string &s, std::vector< std::uint8_t > &pixels, int &width, int &height, int stride=4) noexcept
Converts a string representation of an image to a pixel array.
Namespace for the maze builder.
Definition algo_interface.h:9