Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
MeshEdges.hpp File Reference

The distinct edges of a triangle list, as the line list a wireframe draws. More...

#include "../core/Types.hpp"
#include <algorithm>
#include <vector>
Include dependency graph for MeshEdges.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  esengine

Functions

std::vector< u32 > esengine::distinctMeshEdges (ConstSpan< u32 > indices)
 Index pairs, one per distinct edge, in ascending order of (low, high) vertex.

Detailed Description

The distinct edges of a triangle list, as the line list a wireframe draws.

Definition in file MeshEdges.hpp.