summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.h
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2007-06-04 18:46:59 +0000
committerJosh Bell <josh@lindenlab.com>2007-06-04 18:46:59 +0000
commite61a10ec5b6b84fcb5c27e8e308022d0094f8736 (patch)
treebcf6152629edb1b2548af039bd89b6b573e1e514 /indra/llmath/llvolume.h
parent3e9872a297c3cf3f929e688e0e89a78f6bc050f5 (diff)
svn merge -r 62602:62831 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
Diffstat (limited to 'indra/llmath/llvolume.h')
-rw-r--r--indra/llmath/llvolume.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/indra/llmath/llvolume.h b/indra/llmath/llvolume.h
index 3ce3058887..23c29ae310 100644
--- a/indra/llmath/llvolume.h
+++ b/indra/llmath/llvolume.h
@@ -615,12 +615,14 @@ protected:
class LLProfile
{
public:
- LLProfile(const LLProfileParams &params) : mParams(params)
+ LLProfile(const LLProfileParams &params)
+ : mParams(params),
+ mOpen(FALSE),
+ mConcave(FALSE),
+ mDirty(TRUE),
+ mTotalOut(0),
+ mTotal(2)
{
- mTotal = 2;
- mTotalOut = 0;
- mDirty = TRUE;
- mConcave = FALSE;
}
~LLProfile();
@@ -690,11 +692,13 @@ public:
};
public:
- LLPath(const LLPathParams &params) : mParams(params)
+ LLPath(const LLPathParams &params)
+ : mParams(params),
+ mOpen(FALSE),
+ mTotal(0),
+ mDirty(TRUE),
+ mStep(1)
{
- mOpen = FALSE;
- mDirty = TRUE;
- mStep = 1;
}
virtual ~LLPath();