reverse position
parent
f89af08c59
commit
0638784765
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue