Magnum/MeshTools/FlipNormals.h file

Function Magnum::MeshTools::flipFaceWindingInPlace(), Magnum::MeshTools::flipNormalsInPlace()

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::MeshTools
Mesh tools.

Functions

void flipNormalsInPlace(const Containers::StridedArrayView1D<UnsignedInt>& indices, const Containers::StridedArrayView1D<Vector3>& normals) new in 2020.06
Flip mesh normals and face winding in-place.
void flipNormalsInPlace(const Containers::StridedArrayView2D<char>& indices, const Containers::StridedArrayView1D<Vector3>& normals) new in 2020.06
Flip mesh normals and face winding in-place on a type-erased index array.
void flipNormals(std::vector<UnsignedInt>& indices, std::vector<Vector3>& normals) deprecated in 2020.06
Flip mesh normals and face winding in-place.
void flipFaceWindingInPlace(const Containers::StridedArrayView1D<UnsignedInt>& indices) new in 2020.06
Flip face winding in-place.
void flipFaceWindingInPlace(const Containers::StridedArrayView2D<char>& indices) new in 2020.06
Flip face winding in-place on a type-erased index array.
void flipFaceWinding(std::vector<UnsignedInt>& indices) deprecated in 2020.06
Flip face winding in-place.
void flipNormalsInPlace(const Containers::StridedArrayView1D<Vector3>& normals)
Flip mesh normals in-place.
void flipNormals(std::vector<Vector3>& normals) deprecated in 2020.06
Flip mesh normals in-place.