Skip to content

Instantly share code, notes, and snippets.

@kelleyma49
kelleyma49 / Adjacency.cpp
Created April 17, 2020 17:18 — forked from dwilliamson/Adjacency.cpp
Simple, fast adjacency builder
struct Adjacency
{
struct Vertex
{
// Vertices are shared by a variable number of edges. This indexes the global EdgeRef array.
uint32_t edgeStartRef;
uint32_t nbEdges;
};
union EdgeRef