|
|
@ -207,7 +207,6 @@ public class Camera implements Savable, Cloneable { |
|
|
|
protected Matrix4f projectionMatrix = new Matrix4f(); |
|
|
|
protected Matrix4f projectionMatrix = new Matrix4f(); |
|
|
|
protected Matrix4f viewProjectionMatrix = new Matrix4f(); |
|
|
|
protected Matrix4f viewProjectionMatrix = new Matrix4f(); |
|
|
|
private BoundingBox guiBounding = new BoundingBox(); |
|
|
|
private BoundingBox guiBounding = new BoundingBox(); |
|
|
|
|
|
|
|
|
|
|
|
/** The camera's name. */ |
|
|
|
/** The camera's name. */ |
|
|
|
protected String name; |
|
|
|
protected String name; |
|
|
|
|
|
|
|
|
|
|
@ -913,10 +912,11 @@ public class Camera implements Savable, Cloneable { |
|
|
|
* @param top the top boundary of the viewport (default: 1) |
|
|
|
* @param top the top boundary of the viewport (default: 1) |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setViewPort(float left, float right, float bottom, float top) { |
|
|
|
public void setViewPort(float left, float right, float bottom, float top) { |
|
|
|
setViewPortLeft(left); |
|
|
|
this.viewPortLeft = left; |
|
|
|
setViewPortRight(right); |
|
|
|
this.viewPortRight = right; |
|
|
|
setViewPortBottom(bottom); |
|
|
|
this.viewPortBottom = bottom; |
|
|
|
setViewPortTop(top); |
|
|
|
this.viewPortTop = top; |
|
|
|
|
|
|
|
onViewPortChange(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|