diff options
Diffstat (limited to 'linden/indra/newview/llviewerregion.h')
-rw-r--r-- | linden/indra/newview/llviewerregion.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerregion.h b/linden/indra/newview/llviewerregion.h index 5b7ce17..8ac5de2 100644 --- a/linden/indra/newview/llviewerregion.h +++ b/linden/indra/newview/llviewerregion.h | |||
@@ -196,6 +196,10 @@ public: | |||
196 | 196 | ||
197 | LLSurface &getLand() const { return *mLandp; } | 197 | LLSurface &getLand() const { return *mLandp; } |
198 | 198 | ||
199 | // set and get the region id | ||
200 | const LLUUID& getRegionID() const { return mRegionID; } | ||
201 | void setRegionID(const LLUUID& region_id) { mRegionID = region_id; } | ||
202 | |||
199 | BOOL pointInRegionGlobal(const LLVector3d &point_global) const; | 203 | BOOL pointInRegionGlobal(const LLVector3d &point_global) const; |
200 | LLVector3 getPosRegionFromGlobal(const LLVector3d &point_global) const; | 204 | LLVector3 getPosRegionFromGlobal(const LLVector3d &point_global) const; |
201 | LLVector3 getPosRegionFromAgent(const LLVector3 &agent_pos) const; | 205 | LLVector3 getPosRegionFromAgent(const LLVector3 &agent_pos) const; |
@@ -270,6 +274,9 @@ protected: | |||
270 | U64 mHandle; | 274 | U64 mHandle; |
271 | LLHost mHost; | 275 | LLHost mHost; |
272 | 276 | ||
277 | // The unique ID for this region. | ||
278 | LLUUID mRegionID; | ||
279 | |||
273 | F32 mTimeDilation; // time dilation of physics simulation on simulator | 280 | F32 mTimeDilation; // time dilation of physics simulation on simulator |
274 | 281 | ||
275 | // simulator name | 282 | // simulator name |