@Test
    public void testPointInsideTriangle8() {
        final Vector2f t0 = new Vector2f(3.96f, -511.96f);
        final Vector2f t1 = new Vector2f(-5.36f, 1.27f);
        final Vector2f t2 = new Vector2f(1.56f, -7.84f);
        final Vector2f p = new Vector2f(5.06f, Float.NEGATIVE_INFINITY);

        assertEquals(0, FastMath.pointInsideTriangle(t0, t1, t2, p));
    }
Verifies that algorithms in {@link FastMath} are working correctly.

@author Kirill Vainer
jme3-core/src/test/java/com/jme3/math/FastMathTest.java