aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/indra_constants.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/indra_constants.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h
index 77f3d8c..1c48a5c 100644
--- a/linden/indra/llcommon/indra_constants.h
+++ b/linden/indra/llcommon/indra_constants.h
@@ -38,7 +38,11 @@
38// At 45 Hz collisions seem stable and objects seem 38// At 45 Hz collisions seem stable and objects seem
39// to settle down at a reasonable rate. 39// to settle down at a reasonable rate.
40// JC 3/18/2003 40// JC 3/18/2003
41const F32 PHYSICS_TIMESTEP = 1.f / 45.f; 41
42// const F32 PHYSICS_TIMESTEP = 1.f / 45.f;
43// This must be a #define due to anal retentive restrictions on const expressions
44// CG 2008-06-05
45#define PHYSICS_TIMESTEP (1.f / 45.f)
42 46
43const F32 COLLISION_TOLERANCE = 0.1f; 47const F32 COLLISION_TOLERANCE = 0.1f;
44const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f; 48const F32 HALF_COLLISION_TOLERANCE = COLLISION_TOLERANCE * 0.5f;
@@ -50,9 +54,9 @@ const U32 DAYS_PER_LINDEN_YEAR = 11;
50const U32 SEC_PER_LINDEN_DAY = HOURS_PER_LINDEN_DAY * 60 * 60; 54const U32 SEC_PER_LINDEN_DAY = HOURS_PER_LINDEN_DAY * 60 * 60;
51const U32 SEC_PER_LINDEN_YEAR = DAYS_PER_LINDEN_YEAR * SEC_PER_LINDEN_DAY; 55const U32 SEC_PER_LINDEN_YEAR = DAYS_PER_LINDEN_YEAR * SEC_PER_LINDEN_DAY;
52 56
53const F32 REGION_WIDTH_METERS = 256.f; 57static const F32 REGION_WIDTH_METERS = 256.f;
54const S32 REGION_WIDTH_UNITS = 256; 58static const S32 REGION_WIDTH_UNITS = 256;
55const U32 REGION_WIDTH_U32 = 256; 59static const U32 REGION_WIDTH_U32 = 256;
56 60
57const F32 REGION_HEIGHT_METERS = 4096.f; 61const F32 REGION_HEIGHT_METERS = 4096.f;
58 62
@@ -74,7 +78,7 @@ enum LAND_STAT_REPORT_TYPE
74const U32 STAT_FILTER_MASK = 0x1FFFFFFF; 78const U32 STAT_FILTER_MASK = 0x1FFFFFFF;
75 79
76// Default maximum number of tasks/prims per region. 80// Default maximum number of tasks/prims per region.
77const U32 MAX_TASKS_PER_REGION = 15000; 81const U32 DEFAULT_MAX_REGION_WIDE_PRIM_COUNT = 15000;
78 82
79const F32 MIN_AGENT_DEPTH = 0.30f; 83const F32 MIN_AGENT_DEPTH = 0.30f;
80const F32 DEFAULT_AGENT_DEPTH = 0.45f; 84const F32 DEFAULT_AGENT_DEPTH = 0.45f;