Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
third-party
moab
Commits
3b78d257
Commit
3b78d257
authored
Dec 22, 2016
by
Iulian Grindeanu
Browse files
Options
Browse Files
Download
Plain Diff
Merged in iulian07/obb_test_enable (pull request #270)
Corner shot issue
parents
e72f4ea4
8ecc5370
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test/obb/Makefile.am
test/obb/Makefile.am
+1
-1
test/obb/obb_test.cpp
test/obb/obb_test.cpp
+1
-1
No files found.
test/obb/Makefile.am
View file @
3b78d257
check_PROGRAMS
=
obb_test obb_time obb_tree_tool
TESTS
=
TESTS
=
obb_test
MESHDIR
=
$(abs_top_srcdir)
/MeshFiles/unittest
...
...
test/obb/obb_test.cpp
View file @
3b78d257
...
...
@@ -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
)
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment