Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- rotX.setIdentity();
- rotX.rotX(const_rotation.y);
- rotY.setIdentity();
- rotY.rotY(const_rotation.x);
- view.mul(rotY);
- view.mul(rotX);
- Vector3f translation = new Vector3f(const_position);
- translation.negate();
- view.setTranslation(translation);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement