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
4de09a14
Commit
4de09a14
authored
Sep 22, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename edgeOffset to edge_offset
parent
4046895f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
subdivision.cpp
QTProject/subdivision.cpp
+4
-4
No files found.
QTProject/subdivision.cpp
View file @
4de09a14
...
...
@@ -744,8 +744,8 @@ Subdivision::Result Subdivision::runShader(Input input, Tables &tables) {
runVertexShader
(
input
.
vertex_buffer
.
size
(),
input
.
vb_handle
,
vertex_indices_handle
,
vertex_offsets_handle
,
output_handle
);
int
vertexTime
=
timer
.
elapsed
();
timer
.
restart
();
int
edge
O
ffset
=
input
.
vertex_buffer
.
size
();
runEdgeShader
(
tables
.
edge_indices
.
size
()
/
4
,
input
.
vb_handle
,
edge_indices_handle
,
output_handle
,
edge
O
ffset
);
int
edge
_o
ffset
=
input
.
vertex_buffer
.
size
();
runEdgeShader
(
tables
.
edge_indices
.
size
()
/
4
,
input
.
vb_handle
,
edge_indices_handle
,
output_handle
,
edge
_o
ffset
);
int
edgeTime
=
timer
.
elapsed
();
timer
.
restart
();
...
...
@@ -761,8 +761,8 @@ Subdivision::Result Subdivision::runShader(Input input, Tables &tables) {
}
qCDebug
(
log_subdiv_trace
)
<<
"New edge points:"
;
for
(
int
i
=
0
;
i
<
tables
.
edge_indices
.
size
()
/
4
;
i
++
)
{
qCDebug
(
log_subdiv_trace
)
<<
ptr
[
edge
O
ffset
+
i
].
pos
;
result
.
vertex_buffer
.
push_back
(
ptr
[
edge
O
ffset
+
i
]);
qCDebug
(
log_subdiv_trace
)
<<
ptr
[
edge
_o
ffset
+
i
].
pos
;
result
.
vertex_buffer
.
push_back
(
ptr
[
edge
_o
ffset
+
i
]);
}
int
bufferbildTime
=
timer
.
elapsed
();
...
...
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