Definition MeshVertex.hpp:14
Rotates vertices and normals.
Definition RotateMesh.hpp:16
Impl mTransformMesh
Definition RotateMesh.hpp:19
RotateMesh(Mesh mesh, const double angle, const Axis axis)
Definition RotateMesh.hpp:35
Triangles triangles() const noexcept
Definition RotateMesh.hpp:41
typename Impl::Vertices Vertices
Definition RotateMesh.hpp:43
RotateMesh(Mesh mesh, const double angle, const Vector3 &axis)
Definition RotateMesh.hpp:33
RotateMesh(Mesh mesh, const Quaternion &rotation)
Definition RotateMesh.hpp:24
Vertices vertices() const noexcept
Definition RotateMesh.hpp:45
typename Impl::Triangles Triangles
Definition RotateMesh.hpp:39
A base class for all mesh implementations.
Definition Mesh.hpp:112
Definition AnyGenerator.hpp:12
RotateMesh< Mesh > rotateMesh(Mesh mesh, const Quaternion &rotation)
Definition RotateMesh.hpp:48
Axis
Definition Axis.hpp:12
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
Axis axis(const StringView &str) noexcept
Returns the Axis constant that is represented by str.
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
TVector3< T > transform(const TQuaternion< T > &q, const TVector3< T > &v)
Definition Math.hpp:694