GeometryTestData.XY_PYRAMID_POLYGON_FACE.getHitPoint(hitRay));
}
@Test
public void testHitFromAnotherSide() {
Ray hitRay = new Ray(new Point(5,5,-3), new Point(-1,-1,1));
assertEquals(new HitPoint(new Point(2, 2, 0), Math.sqrt(27)),
GeometryTestData.XY_PYRAMID_POLYGON_FACE.getHitPoint(hitRay));
}