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); |