src/main.cpp

changeset 132
488d0ba6070b
parent 92
c438a7db7c52
child 148
e1ced2523cad
equal deleted inserted replaced
131:e2080ac44039 132:488d0ba6070b
35 */ 35 */
36 MainWindow mainwindow; 36 MainWindow mainwindow;
37 mainwindow.show(); 37 mainwindow.show();
38 return app.exec(); 38 return app.exec();
39 } 39 }
40
41 QDataStream& operator<<(QDataStream& stream, const glm::vec3& vec)
42 {
43 return stream << vec.x << vec.y << vec.z;
44 }
45 QDataStream& operator>>(QDataStream& stream, glm::vec3& vec)
46 {
47 return stream >> vec.x >> vec.y >> vec.z;
48 }

mercurial