Commit 86b7a460 by Philipp Adolf

Remove extra QTime

parent da78c82d
...@@ -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 trianglesTimer; QTime subTimer;
trianglesTimer.start(); subTimer.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.restart();
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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment