瀏覽代碼

修正脚环-炮火连天的方向

liang 2 年之前
父節點
當前提交
027170553e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      footRing_sdk_1.0/include/pub.h
  2. 1 1
      footRing_sdk_1.0/src/Tricycle.cpp

+ 1 - 1
footRing_sdk_1.0/include/pub.h

@@ -44,7 +44,7 @@ using namespace std;
 
 #define PRESS_MIN 41000
 
-#define GAME_VERSION "0.6.1"
+#define GAME_VERSION "0.6.2"
 
 enum CMD_MOTION
 {

+ 1 - 1
footRing_sdk_1.0/src/Tricycle.cpp

@@ -111,7 +111,7 @@ void Tricycle::Process(int time_stamp, int* right_pos, int* right_att, int* righ
 	}
 
 
-	float game_heading_offset = -(left_heading_offset + right_heading_offset) * 0.5f;
+	float game_heading_offset = (left_heading_offset + right_heading_offset) * 0.5f;
 
 	//std::cout << "Ç°½ø¶ÈÊý £º" << game_heading_offset / PI * 180.0f<<endl;