Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Matrix4 modifications = new Matrix4();
- modifications.translate(1, 0, 0);
- modifications.rotate(0, 0, 1, 10);
- Matrix4 result = new Matrix4(cam.combined).mul(modifications);
- ...
- shader.setUniformMatrix("u_projectionViewMatrix", result);
Advertisement
Add Comment
Please, Sign In to add comment