diff options
author | Adam Moss <moss@lindenlab.com> | 2009-10-08 16:31:28 +0000 |
---|---|---|
committer | Adam Moss <moss@lindenlab.com> | 2009-10-08 16:31:28 +0000 |
commit | 50e3b3373bb12e4a19b4d85e148c514a8584e25d (patch) | |
tree | 16c048b349d46597c6b6c72090dde4569b3e7cb1 /indra/llmath/v3math.h | |
parent | ac63aaf7d8545c6701f9aa15bb7482e6c956be84 (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.h | 6 |
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 |