diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-02-21 22:02:34 +0000 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2018-02-21 22:02:34 +0000 |
| commit | 3f9b3e01b9d7ea3a6662adb55027839840198b4c (patch) | |
| tree | a48b8d4d7079ad688e816eec043006681bf5f771 /indra/llmath/llmatrix4a.h | |
| parent | 2b7966302131975e8d270bbf2985b678f37d4b24 (diff) | |
MAINT-8264 - prevent at least some cases of LODs getting stuck at too-low values.
Diffstat (limited to 'indra/llmath/llmatrix4a.h')
| -rw-r--r-- | indra/llmath/llmatrix4a.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmath/llmatrix4a.h b/indra/llmath/llmatrix4a.h index 216334752a..baa3a89176 100644 --- a/indra/llmath/llmatrix4a.h +++ b/indra/llmath/llmatrix4a.h @@ -176,4 +176,10 @@ inline void matMul(const LLMatrix4a &a, const LLMatrix4a &b, LLMatrix4a &res) res.mMatrix[3] = row3; } +inline std::ostream& operator<<(std::ostream& s, const LLMatrix4a& m) +{ + s << "[" << m.mMatrix[0] << ", " << m.mMatrix[1] << ", " << m.mMatrix[2] << ", " << m.mMatrix[3] << "]"; + return s; +} + #endif |
