diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvosurfacepatch.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llvosurfacepatch.h b/linden/indra/newview/llvosurfacepatch.h index 52c11c9..f014ca6 100644 --- a/linden/indra/newview/llvosurfacepatch.h +++ b/linden/indra/newview/llvosurfacepatch.h | |||
@@ -85,6 +85,16 @@ public: | |||
85 | void dirtyPatch(); | 85 | void dirtyPatch(); |
86 | void dirtyGeom(); | 86 | void dirtyGeom(); |
87 | 87 | ||
88 | /*virtual*/ BOOL lineSegmentIntersect(const LLVector3& start, const LLVector3& end, | ||
89 | S32 face = -1, // which face to check, -1 = ALL_SIDES | ||
90 | BOOL pick_transparent = FALSE, | ||
91 | S32* face_hit = NULL, // which face was hit | ||
92 | LLVector3* intersection = NULL, // return the intersection point | ||
93 | LLVector2* tex_coord = NULL, // return the texture coordinates of the intersection point | ||
94 | LLVector3* normal = NULL, // return the surface normal at the intersection point | ||
95 | LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point | ||
96 | ); | ||
97 | |||
88 | BOOL mDirtiedPatch; | 98 | BOOL mDirtiedPatch; |
89 | protected: | 99 | protected: |
90 | ~LLVOSurfacePatch(); | 100 | ~LLVOSurfacePatch(); |