ソースを参照

nacl: compilation fix.

undefined
Sam Hocevar 11年前
コミット
5721afb967
2個のファイルの変更2行の追加2行の削除
  1. +1
    -1
      test/meshviewer.cpp
  2. +1
    -1
      test/nacl_phystest.cpp

+ 1
- 1
test/meshviewer.cpp ファイルの表示

@@ -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 ファイルの表示

@@ -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");


読み込み中…
キャンセル
保存