atan2(y,x) has that discontinuity at 180° where it switches to ... double radians = std::atan2(x, y); double degrees = radians * 180 / M_PI; ...
確定! 回上一頁