Browse Source

Engine; opengl render

develop
Robin Thoni 8 years ago
parent
commit
4a5e446f41
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      TheGame/renderwidget.cpp

+ 0
- 7
TheGame/renderwidget.cpp View File

26
     _device->lookAt(Vector3D(radius * cos(rad), 5.0f, radius * sin(rad)),
26
     _device->lookAt(Vector3D(radius * cos(rad), 5.0f, radius * sin(rad)),
27
                    Vector3D(0.0f, 0.0f, 0.0f));
27
                    Vector3D(0.0f, 0.0f, 0.0f));
28
     _engine->draw();
28
     _engine->draw();
29
-//    device->preDraw();
30
-
31
-
32
-
33
-
34
 
29
 
35
     drawAxes();
30
     drawAxes();
36
-
37
-//    device->postDraw();
38
 }
31
 }
39
 
32
 
40
 void RenderWidget::resizeGL(int width, int height)
33
 void RenderWidget::resizeGL(int width, int height)

Loading…
Cancel
Save