Guest User

Untitled

a guest
Jul 10th, 2012
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1.       Matrix4 modifications = new Matrix4();
  2.       modifications.translate(1, 0, 0);
  3.       modifications.rotate(0, 0, 1, 10);
  4.       Matrix4 result = new Matrix4(cam.combined).mul(modifications);
  5.       ...
  6.       shader.setUniformMatrix("u_projectionViewMatrix", result);
Advertisement
Add Comment
Please, Sign In to add comment