aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvosurfacepatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvosurfacepatch.h')
-rw-r--r--linden/indra/newview/llvosurfacepatch.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/newview/llvosurfacepatch.h b/linden/indra/newview/llvosurfacepatch.h
index 52c11c9..abd015d 100644
--- a/linden/indra/newview/llvosurfacepatch.h
+++ b/linden/indra/newview/llvosurfacepatch.h
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -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;
89protected: 99protected:
90 ~LLVOSurfacePatch(); 100 ~LLVOSurfacePatch();