69 void writeColor (QVector<float>& array, const QColor& color); |
69 void writeColor (QVector<float>& array, const QColor& color); |
70 void compilePolygon (LDPolygon& poly, LDObject* topobj, GLCompiler::ObjectVBOInfo* objinfo); |
70 void compilePolygon (LDPolygon& poly, LDObject* topobj, GLCompiler::ObjectVBOInfo* objinfo); |
71 |
71 |
72 QMap<LDObject*, ObjectVBOInfo> mObjectInfo; |
72 QMap<LDObject*, ObjectVBOInfo> mObjectInfo; |
73 LDObjectList mStaged; // Objects that need to be compiled |
73 LDObjectList mStaged; // Objects that need to be compiled |
74 GLuint mVBOs[gNumVBOs]; |
74 GLuint mVBOs[g_numVBOs]; |
75 bool mChanged[gNumVBOs]; |
75 bool m_vboChanged[g_numVBOs]; |
76 int mVBOSizes[gNumVBOs]; |
76 int m_VBOSizes[g_numVBOs]; |
77 }; |
77 }; |
78 |
78 |
79 #define checkGLError() { checkGLError_private (__FILE__, __LINE__); } |
79 #define checkGLError() { checkGLError_private (__FILE__, __LINE__); } |
80 void checkGLError_private (const char* file, int line); |
80 void checkGLError_private (const char* file, int line); |
81 |
81 |