![]() |
Walls And Holes
1
|
#include <QPoint>
#include <QVector2D>
#include <QVector3D>
#include "m2mpartialmesh.h"
#include "polygon.h"
Go to the source code of this file.
Namespaces | |
M2M_Private | |
M2M_Private::SideTools | |
Enumerations | |
enum | M2M_Private::SideDirection { M2M_Private::NORTH, M2M_Private::EAST, M2M_Private::SOUTH, M2M_Private::WEST } |
Functions | |
QPoint | M2M_Private::SideTools::neighborOffset (SideDirection side) |
neighborOffset Computes the offset for the coordinates of a neighbor of a tile. More... | |
QVector2D | M2M_Private::SideTools::awayDirection (SideDirection side) |
awayDirection Computes the "away" direction for a side on a tile, in XZ coordinates. More... | |
QVector3D | M2M_Private::SideTools::normalDirection (SideDirection side) |
normalDirection Computes the normal direction for a vertical side of a tile. More... | |
M2M::Quad | M2M_Private::SideTools::makeTopQuadFragment (SideDirection side, QVector2D quadCenter, QVector2D minusQuadCenter, float minusQuadSize, M2M::ImageInfo quadImage, M2M::PhongInfo quadMaterial) |
makeTopQuadFragment Creates a fragment of a top-facing quad. More... | |