diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvovolume.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/linden/indra/newview/llvovolume.h b/linden/indra/newview/llvovolume.h index 6177340..d8828f0 100644 --- a/linden/indra/newview/llvovolume.h +++ b/linden/indra/newview/llvovolume.h | |||
@@ -111,10 +111,20 @@ public: | |||
111 | const LLMatrix3& getRelativeXformInvTrans() const { return mRelativeXformInvTrans; } | 111 | const LLMatrix3& getRelativeXformInvTrans() const { return mRelativeXformInvTrans; } |
112 | /*virtual*/ const LLMatrix4 getRenderMatrix() const; | 112 | /*virtual*/ const LLMatrix4 getRenderMatrix() const; |
113 | 113 | ||
114 | /*virtual*/ BOOL lineSegmentIntersect(const LLVector3& start, LLVector3& end) const; | 114 | |
115 | /*virtual*/ BOOL lineSegmentIntersect(const LLVector3& start, const LLVector3& end, | ||
116 | S32 face = -1, // which face to check, -1 = ALL_SIDES | ||
117 | S32* face_hit = NULL, // which face was hit | ||
118 | LLVector3* intersection = NULL, // return the intersection point | ||
119 | LLVector2* tex_coord = NULL, // return the texture coordinates of the intersection point | ||
120 | LLVector3* normal = NULL, // return the surface normal at the intersection point | ||
121 | LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point | ||
122 | ); | ||
123 | |||
115 | LLVector3 agentPositionToVolume(const LLVector3& pos) const; | 124 | LLVector3 agentPositionToVolume(const LLVector3& pos) const; |
116 | LLVector3 agentDirectionToVolume(const LLVector3& dir) const; | 125 | LLVector3 agentDirectionToVolume(const LLVector3& dir) const; |
117 | LLVector3 volumePositionToAgent(const LLVector3& dir) const; | 126 | LLVector3 volumePositionToAgent(const LLVector3& dir) const; |
127 | LLVector3 volumeDirectionToAgent(const LLVector3& dir) const; | ||
118 | 128 | ||
119 | 129 | ||
120 | BOOL getVolumeChanged() const { return mVolumeChanged; } | 130 | BOOL getVolumeChanged() const { return mVolumeChanged; } |
@@ -214,6 +224,7 @@ private: | |||
214 | LLFrameTimer mTextureUpdateTimer; | 224 | LLFrameTimer mTextureUpdateTimer; |
215 | S32 mLOD; | 225 | S32 mLOD; |
216 | BOOL mLODChanged; | 226 | BOOL mLODChanged; |
227 | S32 mSculptLevel; | ||
217 | BOOL mSculptChanged; | 228 | BOOL mSculptChanged; |
218 | LLMatrix4 mRelativeXform; | 229 | LLMatrix4 mRelativeXform; |
219 | LLMatrix3 mRelativeXformInvTrans; | 230 | LLMatrix3 mRelativeXformInvTrans; |