diff options
-rw-r--r-- | src/classes/share/javax/media/j3d/NodeRetained.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/classes/share/javax/media/j3d/NodeRetained.java b/src/classes/share/javax/media/j3d/NodeRetained.java index e9c0ad1..d820a44 100644 --- a/src/classes/share/javax/media/j3d/NodeRetained.java +++ b/src/classes/share/javax/media/j3d/NodeRetained.java @@ -317,13 +317,13 @@ ArrayList<BranchGroupRetained[]> branchGroupPaths = new ArrayList<BranchGroupRet this.parent = parent; } - /** - * Returns the parent of the node. - * @return the parent. - */ - NodeRetained getParent() { - return (NodeRetained)parent; - } +/** + * Returns the parent of the node. + * @return the parent. + */ +NodeRetained getParent() { + return parent; +} // Transform the input bound by the current LocalToVWorld void transformBounds(SceneGraphPath path, Bounds bound) { @@ -364,7 +364,7 @@ ArrayList<BranchGroupRetained[]> branchGroupPaths = new ArrayList<BranchGroupRet } else { - NodeRetained nodeParentR =(NodeRetained)nodeR.getParent(); + NodeRetained nodeParentR = nodeR.getParent(); if(nodeParentR == null) { // Base case. It has to be a BG attached to a locale. @@ -376,7 +376,7 @@ ArrayList<BranchGroupRetained[]> branchGroupPaths = new ArrayList<BranchGroupRet } } else { - computeLocalToVworld(caller, (NodeRetained)nodeParentR, key, l2Vw); + computeLocalToVworld(caller, nodeParentR, key, l2Vw); } |