summaryrefslogtreecommitdiff
path: root/indra/newview/llcylinder.h
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2007-03-02 21:25:50 +0000
committerSteven Bennetts <steve@lindenlab.com>2007-03-02 21:25:50 +0000
commit4dabd9c0472deb49573fdafef2fa413e59703f19 (patch)
tree06c680d6a2047e03838d6548bccd26c7baf9d652 /indra/newview/llcylinder.h
parentd4462963c6ba5db2088723bbedc7b60f1184c594 (diff)
merge release@58699 beta-1-14-0@58707 -> release
Diffstat (limited to 'indra/newview/llcylinder.h')
-rw-r--r--indra/newview/llcylinder.h23
1 files changed, 6 insertions, 17 deletions
diff --git a/indra/newview/llcylinder.h b/indra/newview/llcylinder.h
index 9150db4fb1..94f3219607 100644
--- a/indra/newview/llcylinder.h
+++ b/indra/newview/llcylinder.h
@@ -20,20 +20,15 @@ const S32 CYLINDER_FACES = 3;
class LLCylinder
{
-protected:
- U32 mDisplayListSide[CYLINDER_LEVELS_OF_DETAIL];
- U32 mDisplayListTop[CYLINDER_LEVELS_OF_DETAIL];
- U32 mDisplayListBottom[CYLINDER_LEVELS_OF_DETAIL];
- U32 mTriangleCount[CYLINDER_LEVELS_OF_DETAIL];
-
public:
void prerender();
+ void drawTop(S32 detail);
+ void drawSide(S32 detail);
+ void drawBottom(S32 detail);
void cleanupGL();
void render(F32 pixel_area);
void renderface(F32 pixel_area, S32 face);
-
- U32 getTriangleCount(S32 level_of_detail) { return mTriangleCount[level_of_detail]; }
};
@@ -46,20 +41,14 @@ const S32 CONE_LEVELS_OF_DETAIL = 4;
const S32 CONE_FACES = 2;
class LLCone
-{
-protected:
- U32 mDisplayListSide[CONE_LEVELS_OF_DETAIL];
- U32 mDisplayListBottom[CONE_LEVELS_OF_DETAIL];
- U32 mTriangleCount[CONE_LEVELS_OF_DETAIL];
-
+{
public:
void prerender();
void cleanupGL();
-
+ void drawSide(S32 detail);
+ void drawBottom(S32 detail);
void render(S32 level_of_detail);
void renderface(S32 level_of_detail, S32 face);
-
- U32 getTriangleCount(S32 level_of_detail) { return mTriangleCount[level_of_detail]; }
};
extern LLCylinder gCylinder;