src/types/vertex.h

changeset 1403
7a2d84112983
parent 1390
3eace926af7f
child 1404
16eb4257e662
equal deleted inserted replaced
1402:8bbf2af8c3f5 1403:7a2d84112983
30 30
31 void apply(ApplyFunction func); 31 void apply(ApplyFunction func);
32 void apply(ApplyConstFunction func) const; 32 void apply(ApplyConstFunction func) const;
33 QString toString(bool mangled = false) const; 33 QString toString(bool mangled = false) const;
34 QVector3D toVector() const; 34 QVector3D toVector() const;
35 void transform(const class Matrix& matrix, const Vertex& pos); 35 void transform(const QMatrix4x4& matrix);
36 void rotate(const QQuaternion& orientation);
36 Vertex transformed(const GLRotationMatrix& matrix) const; 37 Vertex transformed(const GLRotationMatrix& matrix) const;
37 void setCoordinate(Axis ax, qreal value); 38 void setCoordinate(Axis ax, qreal value);
38 39
39 Vertex& operator+=(const QVector3D& other); 40 Vertex& operator+=(const QVector3D& other);
40 Vertex operator+(const QVector3D& other) const; 41 Vertex operator+(const QVector3D& other) const;

mercurial