diff options
-rw-r--r-- | ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java | 2 | ||||
-rw-r--r-- | ardor3d-lwjgl/src/main/java/com/ardor3d/renderer/lwjgl/LwjglContextCapabilities.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java b/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java index 675a53c..3c7b79a 100644 --- a/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java +++ b/ardor3d-core/src/main/java/com/ardor3d/bounding/BoundingSphere.java @@ -83,7 +83,7 @@ public class BoundingSphere extends BoundingVolume { transform.applyForward(_center, sphere._center); if (!transform.isRotationMatrix()) { - final Vector3 scale = new Vector3(1, 1, 1); + final Vector3 scale = _compVect3.set(1, 1, 1); transform.applyForwardVector(scale); sphere.setRadius(Math.abs(maxAxis(scale) * getRadius()) + radiusEpsilon - 1); } else { diff --git a/ardor3d-lwjgl/src/main/java/com/ardor3d/renderer/lwjgl/LwjglContextCapabilities.java b/ardor3d-lwjgl/src/main/java/com/ardor3d/renderer/lwjgl/LwjglContextCapabilities.java index 08f6e32..20e2be3 100644 --- a/ardor3d-lwjgl/src/main/java/com/ardor3d/renderer/lwjgl/LwjglContextCapabilities.java +++ b/ardor3d-lwjgl/src/main/java/com/ardor3d/renderer/lwjgl/LwjglContextCapabilities.java @@ -80,7 +80,6 @@ public class LwjglContextCapabilities extends ContextCapabilities { // FBO _fboSupported = caps.GL_EXT_framebuffer_object; - System.err.println(caps.GL_EXT_framebuffer_multisample); if (_fboSupported) { _supportsFBOMultisample = caps.GL_EXT_framebuffer_multisample; |