Merge pull request #229 from hannobraun/face

Change order of fields in `Face`
This commit is contained in:
Hanno Braun 2022-02-21 16:27:48 +01:00 committed by GitHub
commit aa0cbe52de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -51,6 +51,9 @@ pub enum Face {
/// A face is defined by a surface, and is bounded by edges that lie in that
/// surface.
Face {
/// The surface that defines this face
surface: Surface,
/// The edges that bound the face
///
/// # Implementation Note
@ -62,9 +65,6 @@ pub enum Face {
/// more specialized data structure here, that specifies the edges in
/// surface coordinates.
edges: Edges,
/// The surface that defines this face
surface: Surface,
},
/// The triangles of the face