aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llspatialpartition.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llspatialpartition.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-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 '')
-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);