소스 검색

BUILD FIX

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 년 전
부모
커밋
efe8a57810
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. +3
    -4
      test/Makefile.am
  2. +3
    -1
      test/meshviewer.cpp

+ 3
- 4
test/Makefile.am 파일 보기

@@ -59,10 +59,9 @@ nacl_phystest_LDFLAGS = $(AM_LDFLAGS)


meshviewer_SOURCES = meshviewer.cpp \ meshviewer_SOURCES = meshviewer.cpp \
shinymvtexture.lolfx shinyfur.lolfx \ shinymvtexture.lolfx shinyfur.lolfx \
scenesetup-compiler.cpp \ scenesetup.cpp scenesetup.h \
scenesetup-compiler.h \ scenesetup-compiler.cpp scenesetup-compiler.h \
generated/scenesetup-scanner.cpp \ generated/scenesetup-scanner.cpp generated/scenesetup-scanner.h \
generated/scenesetup-scanner.h \
generated/scenesetup-parser.cpp generated/scenesetup-parser.cpp
meshviewer_CPPFLAGS = $(AM_CPPFLAGS) meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
meshviewer_DEPENDENCIES = @LOL_DEPS@ meshviewer_DEPENDENCIES = @LOL_DEPS@


+ 3
- 1
test/meshviewer.cpp 파일 보기

@@ -138,6 +138,7 @@ public:
m_camera = nullptr; m_camera = nullptr;
} }


#if NO_NACL_EM
bool KeyReleased(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsReleased()); } bool KeyReleased(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsReleased()); }
bool KeyPressed(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsPressed()); } bool KeyPressed(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsPressed()); }
bool KeyDown(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsDown()); } bool KeyDown(MVKeyboardList index) { return (HAS_KBOARD && m_controller->GetKey(index).IsDown()); }
@@ -145,6 +146,7 @@ public:
bool KeyPressed(MVMouseKeyList index) { return (HAS_MOUSE && m_controller->GetKey(index).IsPressed()); } bool KeyPressed(MVMouseKeyList index) { return (HAS_MOUSE && m_controller->GetKey(index).IsPressed()); }
bool KeyDown(MVMouseKeyList index) { return (HAS_MOUSE && m_controller->GetKey(index).IsDown()); } bool KeyDown(MVMouseKeyList index) { return (HAS_MOUSE && m_controller->GetKey(index).IsDown()); }
float AxisValue(MVMouseAxisList index) { return (HAS_MOUSE)?(m_controller->GetAxis(index).GetValue()):(0.f); } float AxisValue(MVMouseAxisList index) { return (HAS_MOUSE)?(m_controller->GetAxis(index).GetValue()):(0.f); }
#endif //NO_NACL_EM


void Init() void Init()
{ {
@@ -582,7 +584,7 @@ public:


private: private:
SceneSetup* m_ssetup; SceneSetup* m_ssetup;
byte m_input_usage; short m_input_usage;
Controller* m_controller; Controller* m_controller;
mat4 m_mat; mat4 m_mat;
bool m_init; bool m_init;


||||||
x
 
000:0
불러오는 중...
취소
저장