mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
add compiler define NET48 to the .net4.8 xml
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user