Unravel Engine C++ Reference
|
Rotates vertices and normals. More...
#include <rotate_mesh.hpp>
Public Types | |
using | triangles_t = typename impl_t::triangles_t |
using | vertices_t = typename impl_t::vertices_t |
Public Member Functions | |
rotate_mesh_t (mesh_t mesh, const gml::dquat &rotation) | |
rotate_mesh_t (mesh_t mesh, double angle, const gml::dvec3 &axis) | |
rotate_mesh_t (mesh_t mesh, double angle, axis_t axis) | |
triangles_t | triangles () const noexcept |
vertices_t | vertices () const noexcept |
Rotates vertices and normals.
Definition at line 12 of file rotate_mesh.hpp.
using generator::rotate_mesh_t< mesh_t >::triangles_t = typename impl_t::triangles_t |
Definition at line 48 of file rotate_mesh.hpp.
using generator::rotate_mesh_t< mesh_t >::vertices_t = typename impl_t::vertices_t |
Definition at line 55 of file rotate_mesh.hpp.
|
inline |
mesh | Source mesh data. |
rotation | Quaternion presenting the rotation. |
Definition at line 21 of file rotate_mesh.hpp.
|
inline |
mesh | Source mesh data. |
angle | Counterclockwise angle around the given axis. |
axis | Unit length axis to rotate around. |
Definition at line 34 of file rotate_mesh.hpp.
|
inline |
Definition at line 39 of file rotate_mesh.hpp.
|
inlinenoexcept |
Definition at line 50 of file rotate_mesh.hpp.
|
inlinenoexcept |
Definition at line 57 of file rotate_mesh.hpp.