aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvograss.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llvograss.h
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/llvograss.h')
-rw-r--r--linden/indra/newview/llvograss.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llvograss.h b/linden/indra/newview/llvograss.h
index 679f5dc..fa22ebb 100644
--- a/linden/indra/newview/llvograss.h
+++ b/linden/indra/newview/llvograss.h
@@ -80,6 +80,16 @@ public:
80 /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate. 80 /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate.
81 BOOL idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time); 81 BOOL idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time);
82 82
83 /*virtual*/ BOOL lineSegmentIntersect(const LLVector3& start, const LLVector3& end,
84 S32 face = -1, // which face to check, -1 = ALL_SIDES
85 BOOL pick_transparent = FALSE,
86 S32* face_hit = NULL, // which face was hit
87 LLVector3* intersection = NULL, // return the intersection point
88 LLVector2* tex_coord = NULL, // return the texture coordinates of the intersection point
89 LLVector3* normal = NULL, // return the surface normal at the intersection point
90 LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point
91 );
92
83 static S32 sMaxGrassSpecies; 93 static S32 sMaxGrassSpecies;
84 94
85 struct GrassSpeciesData 95 struct GrassSpeciesData