From 5d6d2b9bd7d401651c59229c43025e3e249d50f7 Mon Sep 17 00:00:00 2001 From: pspeed42 Date: Tue, 12 Aug 2014 02:50:08 -0400 Subject: [PATCH] Commented out the onFrameChange() in update() because its redundant. Modified setGuiBounding to call the new setCenter(x,y,z) method instead of allocating a Vector3f each time. (This method is called any time someone sneezes.) Fixed a missing line feed in a javadoc comment. --- jme3-core/src/main/java/com/jme3/renderer/Camera.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/renderer/Camera.java b/jme3-core/src/main/java/com/jme3/renderer/Camera.java index d3cd9f4a4..8d58c0649 100644 --- a/jme3-core/src/main/java/com/jme3/renderer/Camera.java +++ b/jme3-core/src/main/java/com/jme3/renderer/Camera.java @@ -369,7 +369,8 @@ public class Camera implements Savable, Cloneable { /** * Sets a clipPlane for this camera. * The clipPlane is used to recompute the - * projectionMatrix using the plane as the near plane * This technique is known as the oblique near-plane clipping method introduced by Eric Lengyel + * projectionMatrix using the plane as the near plane + * This technique is known as the oblique near-plane clipping method introduced by Eric Lengyel * more info here *