26#ifndef __WANGTILER_H__
27#define __WANGTILER_H__
46 UINT
Match(UINT x, UINT y);
57 const size_t operator()(
size_t i,
size_t j)
const;
void Generate()
Generate tiling.
const size_t GetHeight() const
Get height in tiles.
const size_t GetWidth() const
Get width in tiles.
UINT ** m_nTile
Array of tile indices.
std::default_random_engine m_stdRandom
Pseudo-random number generator.
UINT Match(UINT x, UINT y)
Choose random tile.
const size_t operator()(size_t i, size_t j) const
Get tile index.
size_t m_nHeight
Array height in tiles.
size_t m_nWidth
Array width in tiles.
CWangTiler(size_t w, size_t h)
Constructor.