|
CeresEngine 0.2.0
A game development framework
|
Rotates vertices and normals. More...
#include <CeresEngine/Mesh/Generator/RotateMesh.hpp>
Public Types | |
| using | Triangles = typename Impl::Triangles |
| using | Vertices = typename Impl::Vertices |
Public Member Functions | |
| RotateMesh (Mesh mesh, const Quaternion &rotation) | |
| RotateMesh (Mesh mesh, const double angle, const Vector3 &axis) | |
| RotateMesh (Mesh mesh, const double angle, const Axis axis) | |
| Triangles | triangles () const noexcept |
| Vertices | vertices () const noexcept |
Private Types | |
| using | Impl = TransformMesh< Mesh > |
Private Attributes | |
| Impl | mTransformMesh |
Rotates vertices and normals.
|
private |
| using CeresEngine::MeshGenerator::RotateMesh< Mesh >::Triangles = typename Impl::Triangles |
| using CeresEngine::MeshGenerator::RotateMesh< Mesh >::Vertices = typename Impl::Vertices |
|
inline |
| mesh | Source mesh data. |
| rotation | Quaternion presenting the rotation. |
|
inline |
| mesh | Source mesh data. |
| angle | Counterclockwise angle around the given axis. |
| axis | Unit length axis to rotate around. |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |