Home | History | Annotate | Download | only in renderer

Lines Matching refs:orthoMatrix

83     private Matrix4f orthoMatrix = new Matrix4f();

966 // orthoMatrix.loadIdentity();
967 // orthoMatrix.setTranslation(translateX, translateY, 0);
968 // orthoMatrix.setScale(scaleX, scaleY, 0);
970 orthoMatrix.loadIdentity();
971 orthoMatrix.setTranslation(-1f, -1f, 0f);
972 orthoMatrix.setScale(2f / cam.getWidth(), 2f / cam.getHeight(), 0f);
980 projMatrix.set(orthoMatrix);
981 viewProjMatrix.set(orthoMatrix);
997 renderer.setViewProjectionMatrices(Matrix4f.IDENTITY, orthoMatrix);