Migration to LLMatrix4a instead of glh::matrix4f
This commit is contained in:
@@ -266,9 +266,9 @@ void LLCubeMap::setMatrix(S32 stage)
|
||||
gGL.getTexUnit(stage)->activate();
|
||||
}
|
||||
|
||||
LLVector3 x(gGLModelView.mMatrix[0].getF32ptr());
|
||||
LLVector3 y(gGLModelView.mMatrix[1].getF32ptr());
|
||||
LLVector3 z(gGLModelView.mMatrix[2].getF32ptr());
|
||||
LLVector3 x(gGLModelView.getRow<0>().getF32ptr());
|
||||
LLVector3 y(gGLModelView.getRow<1>().getF32ptr());
|
||||
LLVector3 z(gGLModelView.getRow<2>().getF32ptr());
|
||||
|
||||
LLMatrix3 mat3;
|
||||
mat3.setRows(x,y,z);
|
||||
|
||||
Reference in New Issue
Block a user