26 std::swap(
edge.vertices[0],
edge.vertices[1]);
45 vertex.tangent *= -1.0;
46 vertex.normal *= -1.0;
Will have a type named "Type" that has same type as value returned by method edges() for type Primiti...
Definition Utility.hpp:23
Definition FlipPath.hpp:22
Edges(const TransformPath< Path > &path)
Definition FlipPath.hpp:37
Edge generate() const
Definition FlipPath.hpp:24
bool done() const noexcept
Definition FlipPath.hpp:30
EdgeGeneratorType< TransformPath< Path > >::Type mEdges
Definition FlipPath.hpp:35
void next()
Definition FlipPath.hpp:32
Flips mesh inside out. Reverses triangles and normals.
Definition FlipPath.hpp:16
FlipPath(Path path)
Definition FlipPath.hpp:43
Impl mTransformPath
Definition FlipPath.hpp:19
Edges edges() const noexcept
Definition FlipPath.hpp:49
Vertices vertices() const noexcept
Definition FlipPath.hpp:52
typename Impl::Vertices Vertices
Definition FlipPath.hpp:51
Definition PathVertex.hpp:14
Definition AnyGenerator.hpp:12
FlipPath< Path > flipPath(Path path)
Definition FlipPath.hpp:55
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