Commit 86b7a460 by Philipp Adolf

Remove extra QTime

parent da78c82d
......@@ -138,19 +138,17 @@ Subdivision::Tables Subdivision::precomputeTables(Input input) {
QVector<Vertex> vb = input.vertex_buffer;
qCDebug(log_subdiv_trace) << "Vertex Buffer: " << vb;
QTime trianglesTimer;
trianglesTimer.start();
QTime subTimer;
subTimer.start();
QVector<Triangle> triangles;
ibToTriangles(&vb, ib, triangles);
QVector<Triangle> triangles_regular;
ibToTriangles(&vb, ib_regular, triangles);
qCDebug(log_timing) << "building Triangles:" << formatTimeMeasurement(trianglesTimer.elapsed());
QTime subTimer;
qCDebug(log_timing) << "building Triangles:" << formatTimeMeasurement(subTimer.elapsed());
subTimer.start();
subTimer.restart();
precomputeEdgeTable(tables, triangles, triangles_regular, (unsigned int) vb.length());
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