Sfoglia il codice sorgente

test: quick fix for the btphystest camera.

legacy
Sam Hocevar sam 11 anni fa
parent
commit
23a850c78d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      test/btphystest.cpp

+ 1
- 1
test/btphystest.cpp Vedi File

@@ -52,7 +52,7 @@ BtPhysTest::BtPhysTest(bool editor)

/* Create a camera that matches the settings of XNA BtPhysTest */
m_camera = new Camera();
m_camera->SetView(vec3(0.f, 600.f, 0.f),
m_camera->SetView(vec3(50.f, 50.f, 0.f),
vec3(0.f, 0.f, 0.f),
vec3(0, 1, 0));
m_camera->SetProjection(mat4::perspective(45.f, 1280.f, 960.f, .1f, 1000.f));


Caricamento…
Annulla
Salva