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
99289847
Commit
99289847
authored
Sep 28, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make triangles next to sharp triangles irregular
parent
01f7c225
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
subdivision.cpp
QTProject/subdivision.cpp
+1
-1
No files found.
QTProject/subdivision.cpp
View file @
99289847
...
@@ -1062,7 +1062,7 @@ void Subdivision::findRegular(QVector<Triangle> triangles, QMap<Triangle, Triang
...
@@ -1062,7 +1062,7 @@ void Subdivision::findRegular(QVector<Triangle> triangles, QMap<Triangle, Triang
Triangle
::
Neighbors
ns
=
neighbors
.
value
(
triangle
);
Triangle
::
Neighbors
ns
=
neighbors
.
value
(
triangle
);
bool
is_regular
=
true
;
bool
is_regular
=
true
;
if
(
triangle
.
has_sharp_edge
()){
if
(
triangle
.
has_sharp_edge
()
||
ns
.
uv
.
triangle
->
has_sharp_edge
()
||
ns
.
vw
.
triangle
->
has_sharp_edge
()
||
ns
.
wu
.
triangle
->
has_sharp_edge
()
){
is_regular
=
false
;
is_regular
=
false
;
}
}
if
(
!
isVertexRegular
(
triangle
,
ns
.
uv
,
neighbors
))
{
if
(
!
isVertexRegular
(
triangle
,
ns
.
uv
,
neighbors
))
{
...
...
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