summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-12-12 09:04:33 -0500
committerOz Linden <oz@lindenlab.com>2011-12-12 09:04:33 -0500
commitf1a4593e471f4ae0e08767f73f100add683965bf (patch)
tree0f0f42a772c9c739ee5e726a8044e2888d17b735 /indra/llrender/llrender.cpp
parentd7e6f21981b0a00c0d89096cc17bab07be60e51a (diff)
parent50a57ba9fec0435a990338398d5c4f23c5cc91f0 (diff)
merge changes for vmrg-204
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 812fa7024b..cd827f5091 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1444,6 +1444,11 @@ const glh::matrix4f& LLRender::getModelviewMatrix()
return mMatrix[MM_MODELVIEW][mMatIdx[MM_MODELVIEW]];
}
+const glh::matrix4f& LLRender::getProjectionMatrix()
+{
+ return mMatrix[MM_PROJECTION][mMatIdx[MM_PROJECTION]];
+}
+
void LLRender::translateUI(F32 x, F32 y, F32 z)
{
if (mUIOffset.empty())