21 #include <QVector3D> |
21 #include <QVector3D> |
22 #include "basics.h" |
22 #include "basics.h" |
23 |
23 |
24 struct Vertex |
24 struct Vertex |
25 { |
25 { |
26 using ValueType = float; |
26 using ValueType = double; |
27 ValueType x; |
27 ValueType x; |
28 ValueType y; |
28 ValueType y; |
29 ValueType z; |
29 ValueType z; |
30 // void transform(const class Matrix& matrix, const Vertex& pos); |
30 // void transform(const class Matrix& matrix, const Vertex& pos); |
31 Vertex transformed(const GLRotationMatrix& matrix) const; |
31 Vertex transformed(const GLRotationMatrix& matrix) const; |