ATAN2 根据xy坐标计算角度,floatcenterX= ... double angle = Math.atan2(touchRawY - centerY, touchRawX - centerX) * 180 / Math.PI;
確定! 回上一頁