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
a67450d5
Commit
a67450d5
authored
Aug 20, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize variables
parent
6740be02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
subdivision.cpp
QTProject/subdivision.cpp
+6
-1
No files found.
QTProject/subdivision.cpp
View file @
a67450d5
...
@@ -471,7 +471,12 @@ QVector<unsigned int> Subdivision::getPatchIndexBuffer(QVector<unsigned int> ib)
...
@@ -471,7 +471,12 @@ QVector<unsigned int> Subdivision::getPatchIndexBuffer(QVector<unsigned int> ib)
//find last missing triangles.
//find last missing triangles.
{
{
bool
found0
,
found1
,
found5
,
found9
,
found8
,
found11
;
bool
found0
=
false
;
bool
found1
=
false
;
bool
found5
=
false
;
bool
found9
=
false
;
bool
found8
=
false
;
bool
found11
=
false
;
for
(
int
j
=
0
;
j
<
ib
.
length
()
-
2
;
j
+=
3
){
for
(
int
j
=
0
;
j
<
ib
.
length
()
-
2
;
j
+=
3
){
unsigned
int
j0
=
ib
[
j
];
unsigned
int
j0
=
ib
[
j
];
unsigned
int
j1
=
ib
[
j
+
1
];
unsigned
int
j1
=
ib
[
j
+
1
];
...
...
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