I found a problem data wrong last night. I am considered from the algorithm. I didn't think about anything wrong for half a day. This morning, I found this statement: p = p / pan_perunit; this time I suddenly thought #define pan_perunit 0.0129 * pi / 180 reasons found this Define. So encourage as CoN to use CONST without #define. Oh, spent a night, I found it. I will debug someone else's programs I will first check the basic questions such as #define. Change into const concert double pan_perunit = 0.0129 * pi / 180;