mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 20:55:43 +08:00
* Made new Framework.Constants class, added RegionSize member.
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
This commit is contained in:
@@ -336,7 +336,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||
|
||||
private const int minXY = 0;
|
||||
private const int minZ = 0;
|
||||
private const int maxXY = 256;
|
||||
private const int maxXY = (int)Constants.RegionSize;
|
||||
private const int maxZ = 4096;
|
||||
private const int maxHandles = 32766; //Why? I don't know
|
||||
private const float gravity = 9.8f;
|
||||
|
||||
Reference in New Issue
Block a user