reverse position

master
Christopher Latza 2020-06-11 12:48:53 +02:00
parent f89af08c59
commit 0638784765
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ namespace OpenSim.Modules.PathFinding
public void setPositions(Vector2 start, Vector2 target)
{
m_bitmap.SetPixel((int)start.X, (int)start.Y, Color.Green);
m_bitmap.SetPixel((int)target.X, (int)target.Y, Color.Red);
m_bitmap.SetPixel(m_bitmap.Size.Width - (int)start.X, m_bitmap.Size.Height - (int)start.Y, Color.Green);
m_bitmap.SetPixel(m_bitmap.Size.Width - (int)target.X, m_bitmap.Size.Height - (int)target.Y, Color.Red);
saveDebugImageToDisc();
}