summaryrefslogtreecommitdiff
path: root/indra/llmath/v3math.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-01-13 11:14:13 -0500
committerOz Linden <oz@lindenlab.com>2011-01-13 11:14:13 -0500
commitb01ca1293b7890ee1e2671f4a9e7b1a77a559a44 (patch)
tree45316409d91dd5cb72e31ae9b53154469380cb99 /indra/llmath/v3math.h
parent55322713fc071a3e171fd4cfbea989945dc8d084 (diff)
parent433ad05ae9580027641c8bd5e1fe175f96669a66 (diff)
merge up to latest viewer-development
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