@Test
    public void testInterpolateLocal() {
        final Vector3f target = new Vector3f();
        final Vector3f beginVec = new Vector3f(0.0f, -9.094f, 0.0f);
        final Vector3f finalVec = new Vector3f(-0.0f, 1.355f, 1.414f);

        final Vector3f retval = target.interpolateLocal(beginVec, finalVec, -4.056f);

        assertEquals(target, retval);

        assertNotNull(retval);
        assertEquals(0.0f, retval.x, 0.0f);
        assertEquals(-51.475147f, retval.y, 0.01f);
        assertEquals(-5.736f, retval.z, 0.001f);
    }
Verify that distance() doesn't always overflow when distanceSquared >
Float.MAX_VALUE .
jme3-core/src/test/java/com/jme3/math/Vector3fTest.java