Ejemplo n.º 1
0
void Tp1Application::compileQuadGridList(FLOAT size, INT rowCount, INT columnCount, BOOL isOutsideNormal)
{
    mQuadGridListId = glGenLists(1);
    glNewList(mQuadGridListId, GL_COMPILE);
        drawQuadGrid(size, rowCount, columnCount, isOutsideNormal);
    glEndList();
}
Ejemplo n.º 2
0
void Tp1Simulation1::compileNetList(FLOAT width, FLOAT length, INT rowCount, INT columnCount, BOOL isOutsideNormal)
{
    mNetListId = glGenLists(1);
    glNewList(mNetListId, GL_COMPILE);
    {
        drawQuadGrid(width, length, rowCount, columnCount, isOutsideNormal);
    }
    glEndList();
}
Ejemplo n.º 3
0
		void compileGrilleQuads(int listID, float size, int nbRows, int nbColums, bool outsideNormal)
		{
			glNewList(listID, GL_COMPILE);
			drawQuadGrid(size, nbRows, nbColums, outsideNormal);
			glEndList();
		}