Migrated gl matrix stack to LLMatrix4a
This commit is contained in:
@@ -311,14 +311,11 @@ public:
|
||||
/*virtual*/ S32 getDepthChannel() const { return 1; }
|
||||
/*virtual*/ QuadType preDraw()
|
||||
{
|
||||
const LLMatrix4a& M = gGLModelView;
|
||||
const LLMatrix4a& P = gGLProjection;
|
||||
LLMatrix4a inv_proj;
|
||||
inv_proj.setMul(gGLProjection,gGLModelView);
|
||||
inv_proj.invert();
|
||||
const LLMatrix4a& MPrev = gGLPreviousModelView;
|
||||
LLMatrix4a prev_proj;
|
||||
prev_proj.setMul(P,MPrev);
|
||||
prev_proj.setMul(gGLProjection,gGLPreviousModelView);
|
||||
|
||||
LLVector2 screen_rect = LLPostProcess::getInstance()->getDimensions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user