Skip to content

Commit

Permalink
docs: fix typo in manual
Browse files Browse the repository at this point in the history
  • Loading branch information
andywiecko committed Dec 9, 2024
1 parent cc2c974 commit fde13af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation~/manual/advanced/output-halfedges.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All triangles in the generated mesh are clockwise.
For example, consider triangle $(a, b, c)$ (at indexes: $i, i+1, i+2$ in [`Output.Triangles`][triangles]), which is made of 3 halfedges $(a, b)$, $(b, c)$, $(c, a)$.
A halfedge is a directed edge, i.e., $(i, j) \neq (j, i)$.
In the halfedges buffer, one can find the $\mathtt{id}$ of the opposite halfedge, if it exists.
In the case when the opposite halfedge is not present in a mesh, then `Output.Triangles[id] = -1`.
In the case when the opposite halfedge is not present in a mesh, then `Output.Halfedges[id] = -1`.

```csharp
using var triangulator = new Triangulator(Allocator.Persistent){ Input = { ... } };
Expand Down

0 comments on commit fde13af

Please sign in to comment.