src/types/vertex.h

changeset 1404
16eb4257e662
parent 1403
7a2d84112983
child 1405
d2bf2e59a3ef
equal deleted inserted replaced
1403:7a2d84112983 1404:16eb4257e662
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 QMatrix4x4& matrix); 35 void transform(const QMatrix4x4& matrix);
36 void rotate(const QQuaternion& orientation); 36 void rotate(const QQuaternion& orientation);
37 Vertex transformed(const GLRotationMatrix& matrix) const; 37 Vertex transformed(const QMatrix4x4& matrix) const;
38 void setCoordinate(Axis ax, qreal value); 38 void setCoordinate(Axis ax, qreal value);
39 39
40 Vertex& operator+=(const QVector3D& other); 40 Vertex& operator+=(const QVector3D& other);
41 Vertex operator+(const QVector3D& other) const; 41 Vertex operator+(const QVector3D& other) const;
42 QVector3D operator-(const Vertex& other) const; 42 QVector3D operator-(const Vertex& other) const;

mercurial