Method GenerateHalfedges
GenerateHalfedges(Span<int>, ReadOnlySpan<int>, Allocator)
Generates halfedges
using the provided triangles
.
Declaration
public static void GenerateHalfedges(Span<int> halfedges, ReadOnlySpan<int> triangles, Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Span<int> | halfedges | The buffer to be filled with halfedges. It must have the same length as |
ReadOnlySpan<int> | triangles | The triangles used for halfedge generation. |
Allocator | allocator | The allocator to use for temporary data. |