Quellcode durchsuchen

nacl: compilation fix.

undefined
Sam Hocevar vor 11 Jahren
Ursprung
Commit
5721afb967
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +1
    -1
      test/meshviewer.cpp
  2. +1
    -1
      test/nacl_phystest.cpp

+ 1
- 1
test/meshviewer.cpp Datei anzeigen

@@ -213,7 +213,7 @@ public:
is_fov = m_controller->GetKey(KEY_CAM_FOV).IsDown();

tmp = vec2((float)m_controller->GetKey(KEY_CAM_UP ).IsDown() - (float)m_controller->GetKey(KEY_CAM_DOWN).IsDown(),
((float)m_controller->GetKey(KEY_CAM_RIGHT ).IsDown() - (float)m_controller->GetKey(KEY_CAM_LEFT).IsDown()));
(float)m_controller->GetKey(KEY_CAM_RIGHT ).IsDown() - (float)m_controller->GetKey(KEY_CAM_LEFT).IsDown());
#endif //!__native_client__

//Base data


+ 1
- 1
test/nacl_phystest.cpp Datei anzeigen

@@ -26,7 +26,7 @@ int gNumObjects = 64;
Nacl_PhysTest::Nacl_PhysTest(bool editor)
{
/* Register an input controller for the keyboard */
m_controller = new Controller(KEY_MAX, 0);
m_controller = new Controller("Default", KEY_MAX, 0);
m_controller->GetKey(KEY_MOVE_FORWARD).Bind("Keyboard", "Up");
m_controller->GetKey(KEY_MOVE_BACK).Bind("Keyboard", "Down");
m_controller->GetKey(KEY_MOVE_LEFT).Bind("Keyboard", "Left");


Laden…
Abbrechen
Speichern