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
5eb26b35
Commit
5eb26b35
authored
Sep 01, 2016
by
Kai Westerkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug test
parent
c6c99b52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
subdivision.cpp
QTProject/subdivision.cpp
+4
-2
No files found.
QTProject/subdivision.cpp
View file @
5eb26b35
...
...
@@ -431,7 +431,8 @@ QVector<unsigned int> Subdivision::getPatchIndexBuffer(QVector<unsigned int> ib_
int
count3
=
0
;
//counts other triangles with this vertex
int
count6
=
0
;
int
count7
=
0
;
/*
if
(
log_subdiv_trace
().
isDebugEnabled
()){
for
(
int
j
=
0
;
j
<
ib_combined
.
length
();
j
++
){
if
(
j
!=
i
&&
j
!=
i
+
1
&&
j
!=
i
+
2
){
//for debugging // checking if patch is regular.
...
...
@@ -443,7 +444,8 @@ QVector<unsigned int> Subdivision::getPatchIndexBuffer(QVector<unsigned int> ib_
if
(
count3
!=
5
||
count6
!=
5
||
count7
!=
5
){
qCWarning
(
log_subdiv
)
<<
"Counts wrong! 3: "
<<
count3
<<
", 6: "
<<
count6
<<
", 7: "
<<
count7
<<
".
\n
Either this patch is not regular, or you didn't pass all neighboring triangles."
;
}
*/
}
//find triangles with shared edge. Fills i2, i4, i10.
{
...
...
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