mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
define constants for simulation height (-100,50000m) and terrain heightmap (-100,4000). No option. compile time decision. use them at ubOde
This commit is contained in:
@@ -2068,9 +2068,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
if (x > 1 && x < maxXX)
|
||||
xx++;
|
||||
|
||||
val = heightMap[yy + xx];
|
||||
if (val < -100.0f)
|
||||
val = -100.0f;
|
||||
val = Util.Clamp(heightMap[yy + xx], Constants.MinTerrainHeightmap, Constants.MaxTerrainHeightmap);
|
||||
if(val > maxH)
|
||||
maxH = val;
|
||||
if(val < minH)
|
||||
|
||||
Reference in New Issue
Block a user