diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llsurfacepatch.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llsurfacepatch.h')
-rw-r--r-- | linden/indra/newview/llsurfacepatch.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/linden/indra/newview/llsurfacepatch.h b/linden/indra/newview/llsurfacepatch.h index 174743e..92756ba 100644 --- a/linden/indra/newview/llsurfacepatch.h +++ b/linden/indra/newview/llsurfacepatch.h | |||
@@ -44,9 +44,17 @@ class LLAgent; | |||
44 | 44 | ||
45 | // A patch shouldn't know about its visibility since that really depends on the | 45 | // A patch shouldn't know about its visibility since that really depends on the |
46 | // camera that is looking (or not looking) at it. So, anything about a patch | 46 | // camera that is looking (or not looking) at it. So, anything about a patch |
47 | // that is specific to a camera should be in the struct below. | 47 | // that is specific to a camera should be in the class below. |
48 | struct LLPatchVisibilityInfo | 48 | class LLPatchVisibilityInfo |
49 | { | 49 | { |
50 | public: | ||
51 | LLPatchVisibilityInfo() : | ||
52 | mbIsVisible(FALSE), | ||
53 | mDistance(0.f), | ||
54 | mRenderLevel(0), | ||
55 | mRenderStride(0) { }; | ||
56 | ~LLPatchVisibilityInfo() { }; | ||
57 | |||
50 | BOOL mbIsVisible; | 58 | BOOL mbIsVisible; |
51 | F32 mDistance; // Distance from camera | 59 | F32 mDistance; // Distance from camera |
52 | S32 mRenderLevel; | 60 | S32 mRenderLevel; |
@@ -153,7 +161,7 @@ protected: | |||
153 | // Pointer to the LLVOSurfacePatch object which is used in the new renderer. | 161 | // Pointer to the LLVOSurfacePatch object which is used in the new renderer. |
154 | LLPointer<LLVOSurfacePatch> mVObjp; | 162 | LLPointer<LLVOSurfacePatch> mVObjp; |
155 | 163 | ||
156 | // All of the camera-dependent stuff should be in its own structure... | 164 | // All of the camera-dependent stuff should be in its own class... |
157 | LLPatchVisibilityInfo mVisInfo; | 165 | LLPatchVisibilityInfo mVisInfo; |
158 | 166 | ||
159 | // pointers to beginnings of patch data fields | 167 | // pointers to beginnings of patch data fields |