aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvotree.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/llvotree.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/llvotree.h')
-rw-r--r--linden/indra/newview/llvotree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llvotree.h b/linden/indra/newview/llvotree.h
index 180e5b0..d6152a5 100644
--- a/linden/indra/newview/llvotree.h
+++ b/linden/indra/newview/llvotree.h
@@ -80,6 +80,17 @@ public:
80 80
81 U32 drawBranchPipeline(LLMatrix4& matrix, U16* indicesp, S32 trunk_LOD, S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha); 81 U32 drawBranchPipeline(LLMatrix4& matrix, U16* indicesp, S32 trunk_LOD, S32 stop_level, U16 depth, U16 trunk_depth, F32 scale, F32 twist, F32 droop, F32 branches, F32 alpha);
82 82
83
84 /*virtual*/ BOOL lineSegmentIntersect(const LLVector3& start, const LLVector3& end,
85 S32 face = -1, // which face to check, -1 = ALL_SIDES
86 BOOL pick_transparent = FALSE,
87 S32* face_hit = NULL, // which face was hit
88 LLVector3* intersection = NULL, // return the intersection point
89 LLVector2* tex_coord = NULL, // return the texture coordinates of the intersection point
90 LLVector3* normal = NULL, // return the surface normal at the intersection point
91 LLVector3* bi_normal = NULL // return the surface bi-normal at the intersection point
92 );
93
83 static S32 sMaxTreeSpecies; 94 static S32 sMaxTreeSpecies;
84 95
85 struct TreeSpeciesData 96 struct TreeSpeciesData