diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llviewerjoint.h | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llviewerjoint.h')
-rw-r--r-- | linden/indra/newview/llviewerjoint.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/linden/indra/newview/llviewerjoint.h b/linden/indra/newview/llviewerjoint.h index 44ad8e7..148f3a6 100644 --- a/linden/indra/newview/llviewerjoint.h +++ b/linden/indra/newview/llviewerjoint.h | |||
@@ -62,7 +62,7 @@ public: | |||
62 | // Traverses the entire joint hierarchy, setting up | 62 | // Traverses the entire joint hierarchy, setting up |
63 | // transforms and calling the drawShape(). | 63 | // transforms and calling the drawShape(). |
64 | // Derived classes may add text/graphic output. | 64 | // Derived classes may add text/graphic output. |
65 | virtual U32 render( F32 pixelArea ); // Returns triangle count | 65 | virtual U32 render( F32 pixelArea, BOOL first_pass = TRUE ); // Returns triangle count |
66 | 66 | ||
67 | // Draws a bone graphic to the parent joint. | 67 | // Draws a bone graphic to the parent joint. |
68 | // Derived classes may add text/graphic output. | 68 | // Derived classes may add text/graphic output. |
@@ -78,7 +78,7 @@ public: | |||
78 | 78 | ||
79 | // Draws the shape attached to a joint. | 79 | // Draws the shape attached to a joint. |
80 | // Called by render(). | 80 | // Called by render(). |
81 | virtual U32 drawShape( F32 pixelArea ); | 81 | virtual U32 drawShape( F32 pixelArea, BOOL first_pass = TRUE ); |
82 | virtual void drawNormals() {} | 82 | virtual void drawNormals() {} |
83 | 83 | ||
84 | enum Components | 84 | enum Components |
@@ -97,9 +97,9 @@ public: | |||
97 | // Sets the level of detail for this node as a minimum | 97 | // Sets the level of detail for this node as a minimum |
98 | // pixel area threshold. If the current pixel area for this | 98 | // pixel area threshold. If the current pixel area for this |
99 | // object is less than the specified threshold, the node is | 99 | // object is less than the specified threshold, the node is |
100 | // not traversed. In additin, if a value is specified (not | 100 | // not traversed. In addition, if a value is specified (not |
101 | // default of 0.0), and the pixel area is larger than the | 101 | // default of 0.0), and the pixel area is larger than the |
102 | // specified miniumn, the node is rendered, but no other siblings | 102 | // specified minimum, the node is rendered, but no other siblings |
103 | // of this node under the same parent will be. | 103 | // of this node under the same parent will be. |
104 | F32 getLOD() { return mMinPixelArea; } | 104 | F32 getLOD() { return mMinPixelArea; } |
105 | void setLOD( F32 pixelArea ) { mMinPixelArea = pixelArea; } | 105 | void setLOD( F32 pixelArea ) { mMinPixelArea = pixelArea; } |
@@ -120,9 +120,10 @@ public: | |||
120 | void setPickName(PickName name) { mPickName = name; } | 120 | void setPickName(PickName name) { mPickName = name; } |
121 | PickName getPickName() { return mPickName; } | 121 | PickName getPickName() { return mPickName; } |
122 | 122 | ||
123 | virtual void updateFaceSizes(U32 &num_vertices, F32 pixel_area); | 123 | virtual void updateFaceSizes(U32 &num_vertices, U32& num_indices, F32 pixel_area); |
124 | virtual void updateFaceData(LLFace *face, F32 pixel_area, BOOL damp_wind = FALSE); | 124 | virtual void updateFaceData(LLFace *face, F32 pixel_area, BOOL damp_wind = FALSE); |
125 | virtual BOOL updateLOD(F32 pixel_area, BOOL activate); | 125 | virtual BOOL updateLOD(F32 pixel_area, BOOL activate); |
126 | virtual void updateGeometry(); | ||
126 | virtual void dump(); | 127 | virtual void dump(); |
127 | 128 | ||
128 | void setVisible( BOOL visible, BOOL recursive ); | 129 | void setVisible( BOOL visible, BOOL recursive ); |
@@ -154,3 +155,4 @@ public: | |||
154 | 155 | ||
155 | #endif // LL_LLVIEWERJOINT_H | 156 | #endif // LL_LLVIEWERJOINT_H |
156 | 157 | ||
158 | |||