src/model.h

changeset 1077
952d6b3e7d11
parent 1074
a62f810ca26f
child 1079
67c6e5d32e68
equal deleted inserted replaced
1076:55cfa9e42d70 1077:952d6b3e7d11
24 LDObject* getObject(int position) const; 24 LDObject* getObject(int position) const;
25 void recountTriangles(); 25 void recountTriangles();
26 int triangleCount() const; 26 int triangleCount() const;
27 QVector<LDObject*>::iterator begin(); 27 QVector<LDObject*>::iterator begin();
28 QVector<LDObject*>::iterator end(); 28 QVector<LDObject*>::iterator end();
29 bool isEmpty() const;
29 30
30 template<typename T, typename... Args> 31 template<typename T, typename... Args>
31 T* emplace(Args&& ...args) 32 T* emplace(Args&& ...args)
32 { 33 {
33 T* object = constructObject<T>(args...); 34 T* object = constructObject<T>(args...);

mercurial