Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
Scotty3D
Commits
28e4e088
Commit
28e4e088
authored
Mar 20, 2021
by
TheNumbat
Browse files
don't render edges between boundary faces
parent
37aac1d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gui/model.cpp
View file @
28e4e088
...
...
@@ -382,6 +382,7 @@ void Model::rebuild() {
cylinders
.
clear
();
for
(
auto
e
=
mesh
.
edges_begin
();
e
!=
mesh
.
edges_end
();
e
++
)
{
if
(
e
->
halfedge
()
->
is_boundary
()
&&
e
->
halfedge
()
->
twin
()
->
is_boundary
())
continue
;
Mat4
transform
;
edge_viz
(
e
,
transform
);
id_to_info
[
e
->
id
()]
=
{
e
,
cylinders
.
add
(
transform
,
e
->
id
())};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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