aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/TerrainCompressor.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/TerrainCompressor.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
index b41691f..1107a2a 100644
--- a/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
+++ b/OpenSim/Region/Framework/Scenes/TerrainCompressor.cs
@@ -81,7 +81,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
81 BuildQuantizeTable16(); 81 BuildQuantizeTable16();
82 } 82 }
83 83
84 // Unused: left for historical reference. 84 // Used to send cloud and wind patches
85 public static LayerDataPacket CreateLayerDataPacket(TerrainPatch[] patches, byte type, int pRegionSizeX, 85 public static LayerDataPacket CreateLayerDataPacket(TerrainPatch[] patches, byte type, int pRegionSizeX,
86 int pRegionSizeY) 86 int pRegionSizeY)
87 { 87 {
@@ -275,7 +275,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
275 } 275 }
276 276
277 header.DCOffset = zmin; 277 header.DCOffset = zmin;
278 header.Range = (int)(zmax - zmin + 1.0f); 278 header.Range = (int)((zmax - zmin) + 1.0f);
279 279
280 return header; 280 return header;
281 } 281 }
@@ -491,7 +491,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
491 lineout[CopyMatrix16[uptr + column]] = (int)(total * QuantizeTable16[uptr + column]); 491 lineout[CopyMatrix16[uptr + column]] = (int)(total * QuantizeTable16[uptr + column]);
492 } 492 }
493 } 493 }
494 */
495 494
496 private static void DCTColumn16(float[] linein, int[] lineout, int column) 495 private static void DCTColumn16(float[] linein, int[] lineout, int column)
497 { 496 {
@@ -524,6 +523,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
524 lineout[CopyMatrix16[uptr + column]] = (int) (total*QuantizeTable16[uptr + column]); 523 lineout[CopyMatrix16[uptr + column]] = (int) (total*QuantizeTable16[uptr + column]);
525 } 524 }
526 } 525 }
526 */
527 527
528 private static int DCTColumn16Wbits(float[] linein, int[] lineout, int column, int wbits, int maxwbits) 528 private static int DCTColumn16Wbits(float[] linein, int[] lineout, int column, int wbits, int maxwbits)
529 { 529 {