改变生成的飞机每行4架

This commit is contained in:
panxu 2018-04-29 20:13:02 +08:00
parent b0f6934b1a
commit 2ae79ec811
2 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@ namespace Plane.FormationCreator.Formation
var newTask = new FlightTask(FlightTaskType.FlyTo); var newTask = new FlightTask(FlightTaskType.FlyTo);
int coptindex = 0; int coptindex = 0;
int colnum = 5; //自动生成列数=4 int colnum = 4; //自动生成列数=4
float coldis = 5;//列相距5米 float coldis = 5;//列相距5米
float rowdis = 5;//行相距5米 float rowdis = 5;//行相距5米
float matrixdis = 20; //生成方阵距离30米 float matrixdis = 20; //生成方阵距离30米

View File

@ -54,9 +54,9 @@ namespace Plane.FormationCreator.ViewModels
var center = _mapManager.Center; var center = _mapManager.Center;
string id; string id;
int colnum = 5; //自动生成列数=4 int colnum = 4; //自动生成列数=4
float coldis = 5;//列相距5米 float coldis = 3;//列相距5米
float rowdis = 5;//行相距5米 float rowdis = 3;//行相距5米
int currcol = 0; //当前列号 int currcol = 0; //当前列号
int currrow = 0; //当前行 int currrow = 0; //当前行
Tuple<double, double> colheadLatLng = new Tuple<double, double>(0, 0); Tuple<double, double> colheadLatLng = new Tuple<double, double>(0, 0);