@Test
    public void testPointInsideTriangle6() {
        final Vector2f t0 = new Vector2f(-0.43f, 2.54f);
        final Vector2f t1 = new Vector2f(Float.NEGATIVE_INFINITY, 2.54f);
        final Vector2f t2 = new Vector2f(Float.NaN, Float.POSITIVE_INFINITY);
        final Vector2f p = new Vector2f(-3.19f, -0.001f);

        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