summaryrefslogtreecommitdiff
path: root/indra/llmath/v3math.h
diff options
context:
space:
mode:
authorAdam Moss <moss@lindenlab.com>2009-10-08 16:31:28 +0000
committerAdam Moss <moss@lindenlab.com>2009-10-08 16:31:28 +0000
commit50e3b3373bb12e4a19b4d85e148c514a8584e25d (patch)
tree16c048b349d46597c6b6c72090dde4569b3e7cb1 /indra/llmath/v3math.h
parentac63aaf7d8545c6701f9aa15bb7482e6c956be84 (diff)
DEV-41080 - wriggle some method implementations out into header implementations, just enough so that llbboxlocal can be a unit test rather than an integration test. Slightly dubious about whether it's worth it.
Diffstat (limited to 'indra/llmath/v3math.h')
-rw-r--r--indra/llmath/v3math.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmath/v3math.h b/indra/llmath/v3math.h
index 06a4f5c542..73738cffd2 100644
--- a/indra/llmath/v3math.h
+++ b/indra/llmath/v3math.h
@@ -556,4 +556,10 @@ inline BOOL are_parallel(const LLVector3 &a, const LLVector3 &b, F32 epsilon)
return FALSE;
}
+inline std::ostream& operator<<(std::ostream& s, const LLVector3 &a)
+{
+ s << "{ " << a.mV[VX] << ", " << a.mV[VY] << ", " << a.mV[VZ] << " }";
+ return s;
+}
+
#endif