//
// System.err.println("ROTATED "+bounds);
// System.err.println(rot.toAngleAxis(null));
if (bounds instanceof BoundingSphere) {
BoundingSphere sphere = (BoundingSphere) bounds;
Vector3f center = new Vector3f();
sphere.getCenter(center);
boundsCenterXTF.setText(Double.toString(center.x));
boundsCenterYTF.setText(Double.toString(center.y));
boundsCenterZTF.setText(Double.toString(center.z));
boundsSizeXTF.setText(Double.toString(sphere.getRadius()));
boundsSizeYTF.setText("N/A Sphere");
boundsSizeZTF.setText("N/A Sphere");
} else if (bounds instanceof BoundingBox) {
BoundingBox box = (BoundingBox) bounds;
Vector3f center = new Vector3f();