mirror of https://github.com/hannobraun/Fornjot
Merge pull request #229 from hannobraun/face
Change order of fields in `Face`
This commit is contained in:
commit
aa0cbe52de
|
@ -51,6 +51,9 @@ pub enum Face {
|
||||||
/// A face is defined by a surface, and is bounded by edges that lie in that
|
/// A face is defined by a surface, and is bounded by edges that lie in that
|
||||||
/// surface.
|
/// surface.
|
||||||
Face {
|
Face {
|
||||||
|
/// The surface that defines this face
|
||||||
|
surface: Surface,
|
||||||
|
|
||||||
/// The edges that bound the face
|
/// The edges that bound the face
|
||||||
///
|
///
|
||||||
/// # Implementation Note
|
/// # Implementation Note
|
||||||
|
@ -62,9 +65,6 @@ pub enum Face {
|
||||||
/// more specialized data structure here, that specifies the edges in
|
/// more specialized data structure here, that specifies the edges in
|
||||||
/// surface coordinates.
|
/// surface coordinates.
|
||||||
edges: Edges,
|
edges: Edges,
|
||||||
|
|
||||||
/// The surface that defines this face
|
|
||||||
surface: Surface,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/// The triangles of the face
|
/// The triangles of the face
|
||||||
|
|
Loading…
Reference in New Issue