Magnum/MeshTools/GenerateFlatNormals.h file

Function Magnum::MeshTools::generateFlatNormals()

Contents

Namespaces

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

Functions

auto generateFlatNormals(const std::vector<UnsignedInt>& indices, const std::vector<Vector3>& positions) -> std::tuple<std::vector<UnsignedInt>, std::vector<Vector3>>
Generate flat normals.