diff options
Diffstat (limited to 'indra/llmath')
| -rw-r--r-- | indra/llmath/llinterp.h | 3 | ||||
| -rw-r--r-- | indra/llmath/llmath.h | 2 | ||||
| -rw-r--r-- | indra/llmath/lloctree.h | 1 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmath/llinterp.h b/indra/llmath/llinterp.h index 36ca2e9865..88af004170 100644 --- a/indra/llmath/llinterp.h +++ b/indra/llmath/llinterp.h @@ -54,7 +54,7 @@ template <typename Type>  class LLInterp  {  public: -	LLInterp(); +        LLInterp();  	virtual ~LLInterp() {}  	virtual void start(); @@ -151,6 +151,7 @@ protected:  template <typename Type>  LLInterp<Type>::LLInterp() +: mStartVal(Type()), mEndVal(Type()), mCurVal(Type())  {  	mStartTime = 0.f;  	mEndTime = 1.f; diff --git a/indra/llmath/llmath.h b/indra/llmath/llmath.h index 7a5d51ff76..209b506c30 100644 --- a/indra/llmath/llmath.h +++ b/indra/llmath/llmath.h @@ -203,7 +203,7 @@ inline S32 llfloor( F32 f )  		}  		return result;  #else -		return (S32)floor(f); +		return (S32)floorf(f);  #endif  } diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index ba8776690a..2f34fb1bb0 100644 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -183,7 +183,6 @@ public:  		{  			mMax.mdV[i] = mCenter.mdV[i] + mSize.mdV[i];  			mMin.mdV[i] = mCenter.mdV[i] - mSize.mdV[i]; -			mCenter.mdV[i] = mCenter.mdV[i];  		}  	}  | 
