/*! \internal Output a string representation of \a section to a debug stream \a dbg. \relates QGLSection */ QDebug operator<<(QDebug dbg, const QGLSection §ion) { dbg.space() << "QGLSection(" << §ion << "- count:" << section.count() << "- smoothing mode:" << (section.smoothing() == QGL::Smooth ? "QGL::Smooth" : "QGL::Faceted") << "\n"; QGL::IndexArray indices = section.indices(); for (int i = 0; i < section.count(); ++i) { int ix = indices[i]; dbg << section.logicalVertexAt(ix) << "\n"; } dbg << ")\n"; return dbg.space(); }