src/glcompiler.h

changeset 1400
ae83213bdd63
parent 1392
0541d9b21968
child 1427
b7ba2af33c13
equal deleted inserted replaced
1399:f52ea4078f5d 1400:ae83213bdd63
57 { 57 {
58 QVector<GLfloat> data[NumVbos]; 58 QVector<GLfloat> data[NumVbos];
59 }; 59 };
60 60
61 void compileStaged(); 61 void compileStaged();
62 void compilePolygon( 62 void compilePolygon(LDPolygon& poly, const QModelIndex& polygonOwnerIndex, ObjectVboData& objectInfo);
63 LDPolygon& poly,
64 const QModelIndex& polygonOwnerIndex,
65 ObjectVboData& objectInfo
66 );
67 Q_SLOT void compileObject(const QModelIndex &index); 63 Q_SLOT void compileObject(const QModelIndex &index);
68 QColor getColorForPolygon( 64 QColor getColorForPolygon(LDPolygon& poly, const QModelIndex& polygonOwnerIndex, VboSubclass complement);
69 LDPolygon& poly,
70 const QModelIndex& polygonOwnerIndex,
71 VboSubclass complement
72 );
73 QColor indexColorForID (qint32 id) const; 65 QColor indexColorForID (qint32 id) const;
74 void needMerge(); 66 void needMerge();
75 Q_SLOT void recompile(); 67 Q_SLOT void recompile();
76 void dropObjectInfo (const QModelIndex &index); 68 void dropObjectInfo (const QModelIndex &index);
77 Q_SLOT void forgetObject(QModelIndex index); 69 Q_SLOT void forgetObject(QModelIndex index);

mercurial