|
CeresEngine 0.2.0
A game development framework
|
Flips (mirrors) the mesh along one or more axis. More...
#include <CeresEngine/Mesh/Generator/AxisFlipMesh.hpp>
Classes | |
| class | Triangles |
Public Types | |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| AxisFlipMesh (Mesh mesh, bool x, bool y, bool z) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = TransformMesh< Mesh > |
Private Attributes | |
| Impl | mTransformMesh |
| bool | mFlip |
Flips (mirrors) the mesh along one or more axis.
Texture coordinates are not flipped. Also reverses triangle vertex order if needed.
|
private |
| using CeresEngine::MeshGenerator::AxisFlipMesh< Mesh >::Vertices = typename Impl::Vertices |
|
inline |
| mesh | Source data mesh. |
| x | Flip x |
| y | Flip y |
| z | Flip z |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |