29 vertex.position =
Vector3{vertex.position[
static_cast<int>(x)], vertex.position[
static_cast<int>(y)],
30 vertex.position[
static_cast<int>(z)]};
31 vertex.tangent =
Vector3{vertex.tangent[
static_cast<int>(x)], vertex.tangent[
static_cast<int>(y)], vertex.tangent[
static_cast<int>(z)]};
32 vertex.normal =
Vector3{vertex.normal[
static_cast<int>(x)], vertex.normal[
static_cast<int>(y)], vertex.normal[
static_cast<int>(z)]};
Swaps axis in path.
Definition AxisSwapPath.hpp:16
AxisSwapPath(Path path, Axis x, Axis y, Axis z)
Definition AxisSwapPath.hpp:26
Impl mTransformPath
Definition AxisSwapPath.hpp:19
typename Impl::Edges Edges
Definition AxisSwapPath.hpp:35
Edges edges() const noexcept
Definition AxisSwapPath.hpp:36
Vertices vertices() const noexcept
Definition AxisSwapPath.hpp:39
typename Impl::Vertices Vertices
Definition AxisSwapPath.hpp:38
Definition PathVertex.hpp:14
Definition AnyGenerator.hpp:12
Axis
Definition Axis.hpp:12
AxisSwapPath< Path > axisSwapPath(Path path, Axis x, Axis y, Axis z)
Definition AxisSwapPath.hpp:42
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25