From 9d9fcac0386ba6adc7a1f6c08f82bd5c0b6cd1d2 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 14 Aug 2009 17:16:41 +0900 Subject: Misc cleanup. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 8fdc5a7..b7030f1 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -347,18 +347,13 @@ namespace OpenSim.Region.Physics.OdePlugin #endif } - // zero out a heightmap array float array (single dimention [flattened])) + // zero out a heightmap array float array (single dimension [flattened])) if ((int)Constants.RegionSize == 256) _heightmap = new float[514*514]; else _heightmap = new float[(((int)Constants.RegionSize + 2) * ((int)Constants.RegionSize + 2))]; _watermap = new float[258 * 258]; - - - - - // Zero out the prim spaces array (we split our space into smaller spaces so // we can hit test less. } @@ -2197,7 +2192,7 @@ namespace OpenSim.Region.Physics.OdePlugin } /// - /// Called when a static prim moves. Allocates a space for the prim based on it's position + /// Called when a static prim moves. Allocates a space for the prim based on its position /// /// the pointer to the geom that moved /// the position that the geom moved to @@ -3013,7 +3008,7 @@ namespace OpenSim.Region.Physics.OdePlugin float[] returnarr = new float[262144]; float[,] resultarr = new float[m_regionWidth, m_regionHeight]; - // Filling out the array into it's multi-dimentional components + // Filling out the array into its multi-dimensional components for (int y = 0; y < m_regionHeight; y++) { for (int x = 0; x < m_regionWidth; x++) @@ -3126,7 +3121,7 @@ namespace OpenSim.Region.Physics.OdePlugin float[] returnarr = new float[262144]; float[,] resultarr = new float[m_regionWidth,m_regionHeight]; - // Filling out the array into it's multi-dimentional components + // Filling out the array into its multi-dimensional components for (int y = 0; y < m_regionHeight; y++) { for (int x = 0; x < m_regionWidth; x++) -- cgit v1.1