Kaynağa Gözat

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

liang 2 yıl önce
ebeveyn
işleme
027170553e

+ 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;