diff options
author | Harvey Harrison <[email protected]> | 2012-01-15 16:06:04 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-01-15 16:06:04 -0800 |
commit | eea3fb5e5995c7e829b16de500d6d72dd437b0ae (patch) | |
tree | 7415ad880beccdafdd9ea31086b18e5b024d612b | |
parent | 1ca551066a4872b1029f88d358def558ff3e13a9 (diff) |
j3dcore: remove unused variables in BoundingSphere
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r-- | src/classes/share/javax/media/j3d/BoundingSphere.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/BoundingSphere.java b/src/classes/share/javax/media/j3d/BoundingSphere.java index 466b2db..531deed 100644 --- a/src/classes/share/javax/media/j3d/BoundingSphere.java +++ b/src/classes/share/javax/media/j3d/BoundingSphere.java @@ -691,7 +691,7 @@ public class BoundingSphere extends Bounds { * @param point a 3D point in space */ public void combine(Point3d point) { - double t,dis,oldc_to_new_c; + double dis,oldc_to_new_c; if( boundsIsInfinite) { return; @@ -859,7 +859,7 @@ public class BoundingSphere extends Bounds { return true; } - double l2oc,rad2,tca,t2hc,mag,t,invMag; + double l2oc,rad2,tca,t2hc,t,invMag; Vector3d dir = new Vector3d(); // normalized direction of ray Point3d oc = new Point3d(); // vector from sphere center to ray origin @@ -964,7 +964,7 @@ public class BoundingSphere extends Bounds { return true; } - double l2oc,rad2,tca,t2hc,mag,invMag,t; + double l2oc,rad2,tca,t2hc,invMag,t; Vector3d dir = new Vector3d(); // normalized direction of ray Point3d oc = new Point3d(); // vector from sphere center to ray origin Vector3d direction = new Vector3d(); @@ -1192,7 +1192,6 @@ public class BoundingSphere extends Bounds { public boolean intersect(Bounds boundsObject) { double distsq, radsq; BoundingSphere sphere; - boolean intersect; if( boundsObject == null ) { return false; |