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
86b7a460
Commit
86b7a460
authored
Sep 24, 2016
by
Philipp Adolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra QTime
parent
da78c82d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
subdivision.cpp
QTProject/subdivision.cpp
+4
-6
No files found.
QTProject/subdivision.cpp
View file @
86b7a460
...
@@ -138,19 +138,17 @@ Subdivision::Tables Subdivision::precomputeTables(Input input) {
...
@@ -138,19 +138,17 @@ Subdivision::Tables Subdivision::precomputeTables(Input input) {
QVector
<
Vertex
>
vb
=
input
.
vertex_buffer
;
QVector
<
Vertex
>
vb
=
input
.
vertex_buffer
;
qCDebug
(
log_subdiv_trace
)
<<
"Vertex Buffer: "
<<
vb
;
qCDebug
(
log_subdiv_trace
)
<<
"Vertex Buffer: "
<<
vb
;
QTime
triangles
Timer
;
QTime
sub
Timer
;
triangles
Timer
.
start
();
sub
Timer
.
start
();
QVector
<
Triangle
>
triangles
;
QVector
<
Triangle
>
triangles
;
ibToTriangles
(
&
vb
,
ib
,
triangles
);
ibToTriangles
(
&
vb
,
ib
,
triangles
);
QVector
<
Triangle
>
triangles_regular
;
QVector
<
Triangle
>
triangles_regular
;
ibToTriangles
(
&
vb
,
ib_regular
,
triangles
);
ibToTriangles
(
&
vb
,
ib_regular
,
triangles
);
qCDebug
(
log_timing
)
<<
"building Triangles:"
<<
formatTimeMeasurement
(
trianglesTimer
.
elapsed
());
qCDebug
(
log_timing
)
<<
"building Triangles:"
<<
formatTimeMeasurement
(
subTimer
.
elapsed
());
QTime
subTimer
;
subTimer
.
start
();
subTimer
.
re
start
();
precomputeEdgeTable
(
tables
,
triangles
,
triangles_regular
,
(
unsigned
int
)
vb
.
length
());
precomputeEdgeTable
(
tables
,
triangles
,
triangles_regular
,
(
unsigned
int
)
vb
.
length
());
qCDebug
(
log_timing
)
<<
"precomputeEdgeTable:"
<<
formatTimeMeasurement
(
subTimer
.
elapsed
());
qCDebug
(
log_timing
)
<<
"precomputeEdgeTable:"
<<
formatTimeMeasurement
(
subTimer
.
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