Selaa lähdekoodia

Engine; opengl render

develop
Robin Thoni 9 vuotta sitten
vanhempi
commit
4a5e446f41
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  1. 0
    7
      TheGame/renderwidget.cpp

+ 0
- 7
TheGame/renderwidget.cpp Näytä tiedosto

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…
Peruuta
Tallenna