@Test
    public void testIssue1459() {
        Vector3f boxCenter = new Vector3f(-92f, 3.3194322e29f, 674.89886f);
        BoundingBox boundingBox = new BoundingBox(boxCenter,
                1.0685959f, 3.3194322e29f, 2.705017f);

        Vector3f sphCenter = new Vector3f(0f, 0f, 0f);
        float radius = Float.POSITIVE_INFINITY;
        BoundingSphere boundingSphere = new BoundingSphere(radius, sphCenter);

        boundingSphere.mergeLocal(boundingBox);

        Vector3f copyCenter = new Vector3f();
        boundingSphere.getCenter(copyCenter);
        Assert.assertTrue(Vector3f.isValidVector(copyCenter));
    }
Verify that an infinite bounding sphere can be merged with a very
eccentric bounding box without producing NaNs. This was issue #1459 at
GitHub.
jme3-core/src/test/java/com/jme3/bounding/TestBoundingSphere.java