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
742aa15b
Commit
742aa15b
authored
Aug 22, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables
parent
7c0f191a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
subdivision.cpp
QTProject/subdivision.cpp
+3
-13
No files found.
QTProject/subdivision.cpp
View file @
742aa15b
...
...
@@ -128,16 +128,6 @@ Subdivision::Tables Subdivision::precomputeTables(Input input) {
//schaue alle dreiecke an
Triangle
triangle
=
triangles
[
i
];
Vertex
x
,
y
,
z
;
unsigned
int
x_i
=
triangle
.
u_idx
();
unsigned
int
y_i
=
triangle
.
v_idx
();
unsigned
int
z_i
=
triangle
.
w_idx
();
//get vertices x,y,z from vertex buffer
x
=
triangle
.
u
();
y
=
triangle
.
v
();
z
=
triangle
.
w
();
QVector
<
unsigned
int
>
edge_indices_buffer
;
//push all edge indices into this, then check if enough edge indices were found. if yes, copy to Tables and add to new index buffer.
/*
...
...
@@ -188,15 +178,15 @@ Subdivision::Tables Subdivision::precomputeTables(Input input) {
tables
.
edge_indices
.
push_back
(
wu
.
c
);
//add indices to new index buffer
tables
.
index_buffer
.
push_back
(
x_i
);
tables
.
index_buffer
.
push_back
(
triangle
.
u_idx
()
);
tables
.
index_buffer
.
push_back
(
nib_offset
);
tables
.
index_buffer
.
push_back
(
nib_offset
+
2
);
tables
.
index_buffer
.
push_back
(
y_i
);
tables
.
index_buffer
.
push_back
(
triangle
.
v_idx
()
);
tables
.
index_buffer
.
push_back
(
nib_offset
+
1
);
tables
.
index_buffer
.
push_back
(
nib_offset
);
tables
.
index_buffer
.
push_back
(
z_i
);
tables
.
index_buffer
.
push_back
(
triangle
.
w_idx
()
);
tables
.
index_buffer
.
push_back
(
nib_offset
+
2
);
tables
.
index_buffer
.
push_back
(
nib_offset
+
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