diff options
author | Graham Linden <graham@lindenlab.com> | 2018-11-14 15:22:47 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-11-14 15:22:47 -0800 |
commit | aa0115053aaa28de1c472410931c57b3e43b72a7 (patch) | |
tree | 9a8ba45529cb125a2ae5cd4672b3fd093af9b45c /indra/llmath/llvector4a.h | |
parent | 4662ba8a2693780198d555a49a00cfafba838d41 (diff) | |
parent | 1d022e86c84039f88c531e91ce857666acd224a1 (diff) |
Merge
Diffstat (limited to 'indra/llmath/llvector4a.h')
-rw-r--r-- | indra/llmath/llvector4a.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llmath/llvector4a.h b/indra/llmath/llvector4a.h index 79d0a44551..222f3cf235 100644 --- a/indra/llmath/llvector4a.h +++ b/indra/llmath/llvector4a.h @@ -320,7 +320,7 @@ public: inline const LLVector4a& operator= ( const LLQuad& rhs ); inline operator LLQuad() const; - + private: LLQuad mQ; } LL_ALIGN_POSTFIX(16); @@ -331,4 +331,9 @@ inline void update_min_max(LLVector4a& min, LLVector4a& max, const LLVector4a& p max.setMax(max, p); } +inline std::ostream& operator<<(std::ostream& s, const LLVector4a& v) +{ + s << "(" << v[0] << ", " << v[1] << ", " << v[2] << ", " << v[3] << ")"; + return s; +} #endif |