ISEbd-21 Melnikov I.O. Lab work 02 Base #2

Merged
eegov merged 3 commits from LabWork02 into LabWork01 2022-10-14 09:58:13 +04:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 40fb3d4a26 - Show all commits

View File

@ -26,9 +26,9 @@
_map = new int[100, 100];
_size_x = (float)_width / _map.GetLength(0);
_size_y = (float)_height / _map.GetLength(1);
for (int i = 0; i < _map.GetLength(0); ++i)
for (int i = 0; i < _map.GetLength(0); i++)
{
for (int j = 0; j < _map.GetLength(1); ++j)
for (int j = 0; j < _map.GetLength(1); j++)
{
_map[i, j] = _freeRoad;
}

View File

@ -26,9 +26,9 @@
_map = new int[100, 100];
_size_x = (float)_width / _map.GetLength(0);
_size_y = (float)_height / _map.GetLength(1);
for (int i = 0; i < _map.GetLength(0); ++i)
for (int i = 0; i < _map.GetLength(0); i++)
{
for (int j = 0; j < _map.GetLength(1); ++j)
for (int j = 0; j < _map.GetLength(1); j++)
{
_map[i, j] = _freeRoad;
}

View File

@ -27,9 +27,9 @@
_size_x = (float)_width / _map.GetLength(0);
_size_y = (float)_height / _map.GetLength(1);
int counter = 0;
for (int i = 0; i < _map.GetLength(0); ++i)
for (int i = 0; i < _map.GetLength(0); i++)
{
for (int j = 0; j < _map.GetLength(1); ++j)
for (int j = 0; j < _map.GetLength(1); j++)
{
_map[i, j] = _freeRoad;
}