Code example for Matrix4f

Methods: loadOrthoWindow

0
	} 
 
	public void surfaceChanged() { 
		mWidth = mRS.getWidth();
		mHeight = mRS.getHeight();
		Matrix4f proj = new Matrix4f();
		proj.loadOrthoWindow(mWidth, mHeight);
		mPVA.setProjection(proj);
	} 
 
	private Resources mRes;
	private RenderScriptGL mRS;
	private Sampler mLinearClamp;
	private ProgramStore mProgStoreBlendNone;
	private ProgramFragment mProgFragmentTexture;
	private ProgramVertex mProgVertex;
	private ProgramVertexFixedFunction.Constants mPVA;
	private ProgramRaster mCullNone;
	private ScriptC_carousel mScript;
 
	private final BitmapFactory.Options mOptionsARGB = new BitmapFactory.Options();