Migrated gl matrix stack to LLMatrix4a

This commit is contained in:
Shyotl
2014-06-22 03:34:51 -05:00
parent 8f6a578ec0
commit 061178ad82
64 changed files with 1533 additions and 1070 deletions

View File

@@ -320,6 +320,9 @@ LLViewerRegion::LLViewerRegion(const U64 &handle,
{
// Moved this up... -> mWidth = region_width_meters;
// </FS:CR>
mRenderMatrix.setIdentity();
mImpl->mOriginGlobal = from_region_handle(handle);
updateRenderMatrix();
@@ -546,7 +549,7 @@ void LLViewerRegion::setOriginGlobal(const LLVector3d &origin_global)
void LLViewerRegion::updateRenderMatrix()
{
mRenderMatrix.setTranslation(getOriginAgent());
mRenderMatrix.setTranslate_affine(getOriginAgent());
}
void LLViewerRegion::setTimeDilation(F32 time_dilation)