aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvograss.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvograss.h')
-rw-r--r--linden/indra/newview/llvograss.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/linden/indra/newview/llvograss.h b/linden/indra/newview/llvograss.h
index 679f5dc..95197a5 100644
--- a/linden/indra/newview/llvograss.h
+++ b/linden/indra/newview/llvograss.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
@@ -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