@Test
    public void testInterpolateLocal2() {
        final Vector3f target = new Vector3f(1.5f, 3.5f, 8.2f);
        final Vector3f other = new Vector3f(5.0f, 1.5f, 2.0f);

        final Vector3f retval = target.interpolateLocal(other, 3.0f);

        assertEquals(target, retval);

        assertNotNull(retval);
        assertEquals(12.0f, retval.x, 0.0f);
        assertEquals(-2.5f, retval.y, 0.01f);
        assertEquals(-10.4f, 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