diff options
Diffstat (limited to 'linden/indra/newview/llvograss.h')
-rw-r--r-- | linden/indra/newview/llvograss.h | 10 |
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 |