summaryrefslogtreecommitdiff
path: root/indra/llmath/v3math.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-08-23 13:36:28 -0400
committerLoren Shih <seraph@lindenlab.com>2010-08-23 13:36:28 -0400
commit27c855149e657cebda863e279c8545f7816e1c18 (patch)
tree23cf8154df35f091844c3628dc5db65cb40507c3 /indra/llmath/v3math.h
parent1a8d917a6d0d2393a0f0248d0072dd7cfd487609 (diff)
First pass commit for breast physics.
Diffstat (limited to 'indra/llmath/v3math.h')
-rw-r--r--indra/llmath/v3math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llmath/v3math.h b/indra/llmath/v3math.h
index dbd38c1c3f..d3fc6fcb2f 100644
--- a/indra/llmath/v3math.h
+++ b/indra/llmath/v3math.h
@@ -69,6 +69,7 @@ class LLVector3
inline BOOL isFinite() const; // checks to see if all values of LLVector3 are finite
BOOL clamp(F32 min, F32 max); // Clamps all values to (min,max), returns TRUE if data changed
+ BOOL clamp(const LLVector3 &min_vec, const LLVector3 &max_vec); // Scales vector by another vector
BOOL clampLength( F32 length_limit ); // Scales vector to limit length to a value
void quantize16(F32 lowerxy, F32 upperxy, F32 lowerz, F32 upperz); // changes the vector to reflect quatization