comment updates
This commit is contained in:
parent
a9281d3db7
commit
d5d7663ac8
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ def build_polyhedron(vertices: numpy.ndarray, faces: numpy.ndarray) -> poly_t:
|
||||||
has_next = (neighbor_rows == next_vert).any(axis=1)
|
has_next = (neighbor_rows == next_vert).any(axis=1)
|
||||||
|
|
||||||
# Each vertex touches 3 faces; each vertex triplet (neighbor_row) is a triangle on a face.
|
# Each vertex touches 3 faces; each vertex triplet (neighbor_row) is a triangle on a face.
|
||||||
# Thus, we will never encounter a situation in which prv == nxt.
|
# Thus, we will never encounter a situation in which prev == next.
|
||||||
|
|
||||||
# If the vertex hasn't been linked to anything yet, set its first two
|
# If the vertex hasn't been linked to anything yet, set its first two
|
||||||
# polyhedron-neighbors to its face-neighbors
|
# polyhedron-neighbors to its face-neighbors
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue