src/ui/canvas.cpp

changeset 68
ddb07bb6840c
parent 67
612213a168da
child 70
f21b800b02a4
equal deleted inserted replaced
67:612213a168da 68:ddb07bb6840c
146 {0, 6.9266, -3.6955, 0}, 146 {0, 6.9266, -3.6955, 0},
147 {0, -16.7222, -1.5307, 0}, 147 {0, -16.7222, -1.5307, 0},
148 {0, -13.273, -9.255, 1}, 148 {0, -13.273, -9.255, 1},
149 }; 149 };
150 */ 150 */
151 this->gridMatrix = glm::mat4{1}; 151 this->gridMatrix = glm::mat4{
152 {1, 0, 0, 0},
153 {0, 0, 1, 0},
154 {0, 1, 0, 0},
155 {0, 0, 0, 1}
156 };
152 this->updateGridMatrix(); 157 this->updateGridMatrix();
153 } 158 }
154 159
155 void Canvas::paintGL() 160 void Canvas::paintGL()
156 { 161 {

mercurial