Lines Matching refs:m_polys
856 const std::vector<TriangleData> m_polys
862 , m_polys (polysBegin, polysEnd)
888 for (size_t ndx = 0; ndx < m_polys.size(); ++ndx)
890 const std::string v0Properties = genClippingPointInfoString(m_polys[ndx].p0);
891 const std::string v1Properties = genClippingPointInfoString(m_polys[ndx].p1);
892 const std::string v2Properties = genClippingPointInfoString(m_polys[ndx].p2);
893 const std::string c0Properties = genColorString(m_polys[ndx].c0);
894 const std::string c1Properties = genColorString(m_polys[ndx].c1);
895 const std::string c2Properties = genColorString(m_polys[ndx].c2);
897 log << TestLog::Message << "\tv0 (x=" << m_polys[ndx].p0.x() << "\ty=" << m_polys[ndx].p0.y() << "\tz=" << m_polys[ndx].p0.z() << "\tw=" << m_polys[ndx].p0.w() << ")\t" << v0Properties << "\t" << c0Properties << TestLog::EndMessage;
898 log << TestLog::Message << "\tv1 (x=" << m_polys[ndx].p1.x() << "\ty=" << m_polys[ndx].p1.y() << "\tz=" << m_polys[ndx].p1.z() << "\tw=" << m_polys[ndx].p1.w() << ")\t" << v1Properties << "\t" << c1Properties << TestLog::EndMessage;
899 log << TestLog::Message << "\tv2 (x=" << m_polys[ndx].p2.x() << "\ty=" << m_polys[ndx].p2.y() << "\tz=" << m_polys[ndx].p2.z() << "\tw=" << m_polys[ndx].p2.w() << ")\t" << v2Properties << "\t" << c2Properties << TestLog::EndMessage;
919 ctx.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].p0);
920 ctx.vertexAttribPointer (colorLoc, 4, GL_FLOAT, GL_FALSE, sizeof(GLfloat[8]), &m_polys[0].c0);
921 ctx.drawArrays (GL_TRIANGLES, 0, verticesPerTriangle * (glw::GLsizei)m_polys.size());