Commit 3b78d257 authored by Iulian Grindeanu's avatar Iulian Grindeanu

Merged in iulian07/obb_test_enable (pull request #270)

Corner shot issue
parents e72f4ea4 8ecc5370
check_PROGRAMS = obb_test obb_time obb_tree_tool
TESTS =
TESTS = obb_test
MESHDIR = $(abs_top_srcdir)/MeshFiles/unittest
......
......@@ -931,7 +931,7 @@ static bool do_ray_fire_test( OrientedBoxTreeTool& tool,
/* Do standard ray fire tests */
RayTest tests[] = {
{ "half-diagonal from center", 1, box.center, 1.5 * box.dimensions() },
{ "almost half-diagonal from center", 1, box.center, 1.5 * box.dimensions() + 0.1*box.axis(0)+0.2*box.axis(1) },
{ "large axis through box", 2, box.center - 1.2 * box.scaled_axis(2), box.axis(2) },
{ "small axis through box", 2, box.center - 1.2 * box.scaled_axis(0), box.axis(0) },
{ "parallel miss", 0, box.center + 2.0 * box.scaled_axis(1), box.axis(2) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment