aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llspatialpartition.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llspatialpartition.h')
-rw-r--r--linden/indra/newview/llspatialpartition.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llspatialpartition.h b/linden/indra/newview/llspatialpartition.h
index b4b1101..bd09da2 100644
--- a/linden/indra/newview/llspatialpartition.h
+++ b/linden/indra/newview/llspatialpartition.h
@@ -300,7 +300,14 @@ public:
300 LLSpatialGroup *put(LLDrawable *drawablep, BOOL was_visible = FALSE); 300 LLSpatialGroup *put(LLDrawable *drawablep, BOOL was_visible = FALSE);
301 BOOL remove(LLDrawable *drawablep, LLSpatialGroup *curp); 301 BOOL remove(LLDrawable *drawablep, LLSpatialGroup *curp);
302 302
303 LLDrawable* pickDrawable(const LLVector3& start, const LLVector3& end, LLVector3& collision); 303 LLDrawable* lineSegmentIntersect(const LLVector3& start, const LLVector3& end,
304 S32* face_hit, // return the face hit
305 LLVector3* intersection = NULL, // return the intersection point
306 LLVector2* tex_coord = NULL, // return the texture coordinates of the intersection point
307 LLVector3* normal = NULL, // return the surface normal at the intersection point
308 LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point
309 );
310
304 311
305 // If the drawable moves, move it here. 312 // If the drawable moves, move it here.
306 virtual void move(LLDrawable *drawablep, LLSpatialGroup *curp, BOOL immediate = FALSE); 313 virtual void move(LLDrawable *drawablep, LLSpatialGroup *curp, BOOL immediate = FALSE);