summaryrefslogtreecommitdiff
path: root/indra/llmath/v3math.h
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-04-27 12:27:05 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-04-27 12:27:05 -0400
commita3d89650a9a485902982ac066b2a4e9cf642989d (patch)
treeda1723ade50571e7fe1fe15e43a1b9cb595b5ae5 /indra/llmath/v3math.h
parent71f5c1f5e8bbf6b22776cd7f98aabecc7a48918d (diff)
parent154a465bdaff58023c43bed12b4a049ae72a55df (diff)
merged .hgtags from viewer-pre-release
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 ef002fe9f2..4b3efe7394 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