src/basics.h

changeset 1161
e6a5ff67c057
parent 1151
0eddb5bcf25b
child 1162
94e12806d741
equal deleted inserted replaced
1160:2cf16ba952bf 1161:e6a5ff67c057
42 X, 42 X,
43 Y, 43 Y,
44 Z 44 Z
45 }; 45 };
46 46
47 static const Axis axes[] = {X, Y, Z};
48
49 // 47 //
50 // Derivative of QVector3D: this class is used for the vertices. 48 // Derivative of QVector3D: this class is used for the vertices.
51 // 49 //
52 class Vertex : public QVector3D 50 class Vertex : public QVector3D
53 { 51 {
108 private: 106 private:
109 bool m_isEmpty; 107 bool m_isEmpty;
110 Vertex m_vertex0; 108 Vertex m_vertex0;
111 Vertex m_vertex1; 109 Vertex m_vertex1;
112 }; 110 };
113
114 extern const Vertex Origin;
115 111
116 static const double pi = 3.14159265358979323846; 112 static const double pi = 3.14159265358979323846;
117 113
118 114
119 // ============================================================================= 115 // =============================================================================

mercurial