Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
Unterteilungsalgorithmen
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kai Westerkamp
Unterteilungsalgorithmen
Commits
384a4370
Commit
384a4370
authored
Aug 22, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in get_shared_edge
When we matched with a rotated triangle the name of the rotated triangle's edge was wrong.
parent
742aa15b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
triangle.cpp
QTProject/triangle.cpp
+2
-2
No files found.
QTProject/triangle.cpp
View file @
384a4370
...
...
@@ -51,13 +51,13 @@ bool Triangle::get_shared_edge(Triangle other, Edge &edge_a, Edge &edge_b) const
other
.
rotate_indices
();
if
(
get_shared_edge_
(
other
,
edge_a
,
edge_b
))
{
edge_b
.
name
=
rotate_edge_name
(
rotate_edge_name
(
edge_b
.
name
)
);
edge_b
.
name
=
rotate_edge_name
(
edge_b
.
name
);
return
true
;
}
other
.
rotate_indices
();
if
(
get_shared_edge_
(
other
,
edge_a
,
edge_b
))
{
edge_b
.
name
=
rotate_edge_name
(
edge_b
.
name
);
edge_b
.
name
=
rotate_edge_name
(
rotate_edge_name
(
edge_b
.
name
)
);
return
true
;
}
...
...
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