add compiler define NET48 to the .net4.8 xml

This commit is contained in:
UbitUmarov
2022-03-30 15:02:18 +01:00
parent 667a18161b
commit a68b8acba3
2 changed files with 4 additions and 4 deletions

View File

@@ -518,8 +518,8 @@ namespace OpenSim.Framework
for (int yy = 0; yy < SizeY; yy++)
for (int xx = 0; xx < SizeX; xx++)
{
// reduce to 1cm resolution
float val = (float)Math.Round(m_heightmap[xx, yy],2,MidpointRounding.ToEven);
// reduce to 1mm resolution
float val = (float)Math.Round(m_heightmap[xx, yy],3,MidpointRounding.AwayFromZero);
bw.Write(val);
}
}