Maxim Tugai wrote:
sceneGraph.setBoundsAutoCompute(true);
BoundingBox graphBounds = new BoundingBox(sceneGraph.getBounds());
However, when I measuring the dimensions of graphBounds (using getLower()
and getUpper() methods), these dimensions are ALWAYS equal (width = height =
deep)!
Why? I know, tha
Hi, can anybody help me?
I want to get the dimensions of scenegraph (width, height, deep), so I use
such algorithm:
BranchGroup sceneGraph;
... making scenegraph...
sceneGraph.setBoundsAutoCompute(true);
BoundingBox graphBounds = new BoundingBox(sceneGraph.getBounds());
However, when I measur