![]() |
Walls And Holes
1
|
#include <abstractpolygontilemesher.h>
Public Member Functions | |
AbstractPolygonTileMesher (TileNeighborhoodInfo nbhd) | |
QVector< QSharedPointer< SimpleTexturedObject > > | makeMesh (QVector2D offset) |
makeMesh Creates the mesh for this tile. More... | |
![]() | |
virtual | ~AbstractTileMesher () |
Protected Member Functions | |
virtual QVector< Triplet< BetterPolygon, QVector< float >, QVector< bool > > > | topPolygons (QVector< const Tile *> *heightAndMaterial)=0 |
![]() | |
AbstractTileMesher (TileNeighborhoodInfo nbhd) | |
Additional Inherited Members | |
![]() | |
static QSharedPointer< AbstractTileMesher > | getMesherForTile (const TileMap *tileMap, QPoint tilePoint) |
Returns a TileMesher instance that will create the mesh for the given tile, or, if the tile has not changed (determined by oldMesher), returns nullptr. More... | |
![]() | |
TileNeighborhoodInfo | mTileNeighborhood |
Information for each tile in the 3x3 neighborhood of the tile to which this mesher is associated. More... | |
AbstractPolygonTileMesher::AbstractPolygonTileMesher | ( | TileNeighborhoodInfo | nbhd | ) |
|
virtual |
makeMesh Creates the mesh for this tile.
Implements M2M::AbstractTileMesher.
|
protectedpure virtual |
Implemented in M2M::BlockyPolygonTileMesher, and M2M::GroundBlockyPolygonTileMesher.