src/vertex.h

changeset 17
a5111f4e6412
parent 6
73e448b2943d
child 18
918b6c0f8b5b
equal deleted inserted replaced
16:aeb5f203b3eb 17:a5111f4e6412
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;

mercurial