This commit is contained in:
dewfewg committed 2023-11-27 16:00:45 +08:00
1 parent 429a98e922
commit 43cdf80e0e
2 files changed
+89 -33

No files matched your search

+2 -2
View File
@@ -38,8 +38,8 @@ private:
// void ccd(int which, double d, double j); // 曲线行驶
double atwo(int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4); // 两直线间夹角
// void navigate();
void shot(int which, bool de); // 射门
void shot(int which, bool de, CPoint t); // 把球向t点射,de向上还是向下射
void shot(int which, bool de); // 射门;
void shot(int which, bool de, CPoint t); // 把球向t点射,de向上还是向下射,de=0从上向下射
double Distance(CPoint point1, CPoint point2); // 计算两点之间的距离
double Angle(CPoint point1, CPoint point2); // 计算两点之间的角度