Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Philip Trettner
polymesh
Commits
e8221643
Commit
e8221643
authored
Jul 23, 2018
by
Philip Trettner
Browse files
refactoring
parent
8f885d5d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/polymesh/Mesh.hh
View file @
e8221643
...
...
@@ -154,6 +154,10 @@ private:
/// Allocates a new edge
edge_index
alloc_edge
();
/// Allocates a given amount of vertices, faces, and halfedges
/// NOTE: leaves ALL of them in an unspecified state
void
alloc_primitives
(
int
vertices
,
int
faces
,
int
halfedges
);
/// Adds a face consisting of N vertices
/// The vertices must already be sorted in CCW order
/// (note: trying to add already existing halfedges triggers assertions)
...
...
src/polymesh/impl/impl_mesh.hh
View file @
e8221643
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment