Maze Builder Docs 6.0.1
Loading...
Searching...
No Matches
mazes::wavefront_object_helper Class Reference

Transform a maze into a Wavefront object string. More...

#include <wavefront_object_helper.h>

Public Member Functions

 wavefront_object_helper (const wavefront_object_helper &other)
 
wavefront_object_helperoperator= (const wavefront_object_helper &other)
 
 wavefront_object_helper (wavefront_object_helper &&other) noexcept=default
 
wavefront_object_helperoperator= (wavefront_object_helper &&other) noexcept=default
 
std::string to_wavefront_object_str (const std::unique_ptr< maze > &m, const std::vector< std::tuple< int, int, int > > &vertices, const std::vector< std::vector< std::uint32_t > > &faces) const noexcept
 Transform a maze into a Wavefront object string.
 

Detailed Description

Transform a maze into a Wavefront object string.

Member Function Documentation

◆ to_wavefront_object_str()

std::string mazes::wavefront_object_helper::to_wavefront_object_str ( const std::unique_ptr< maze > & m,
const std::vector< std::tuple< int, int, int > > & vertices,
const std::vector< std::vector< std::uint32_t > > & faces ) const
noexcept

Transform a maze into a Wavefront object string.

The Wavefront object string can be used as an import file for game engines

Parameters
m
vertices
faces
Returns


The documentation for this class was generated from the following file: