Bläddra i källkod

Engine; opengl render

develop
Robin Thoni 9 år sedan
förälder
incheckning
4a5e446f41
1 ändrade filer med 0 tillägg och 7 borttagningar
  1. 0
    7
      TheGame/renderwidget.cpp

+ 0
- 7
TheGame/renderwidget.cpp Visa fil

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)

Laddar…
Avbryt
Spara