change XY

master
Christopher Latza 2020-06-10 18:31:03 +02:00
parent 095797dc5c
commit 0878b99a2d
1 changed files with 4 additions and 4 deletions

View File

@ -147,12 +147,12 @@ namespace OpenSim.Modules.PathFinding
{ {
Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY); Bitmap _map = new Bitmap((int)m_scene.RegionInfo.RegionSizeX, (int)m_scene.RegionInfo.RegionSizeY);
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
{
m_log.Info("X: " + X);
for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++) for (int Y = 0; Y < m_scene.RegionInfo.RegionSizeY; Y++)
{ {
m_log.Info("Y: " + Y); m_log.Info("Y: " + Y);
for (int X = 0; X < m_scene.RegionInfo.RegionSizeX; X++)
{
m_log.Info("X: " + X);
_map.SetPixel(X, Y, Color.Green); _map.SetPixel(X, Y, Color.Green);