aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/tests/colliders
diff options
context:
space:
mode:
authordan miller2007-10-19 05:20:48 +0000
committerdan miller2007-10-19 05:20:48 +0000
commitd48ea5bb797037069d641da41da0f195f0124491 (patch)
tree40ff433d94859d629aac933d5ec73b382f62ba1a /libraries/ode-0.9/tests/colliders
parentdont ask (diff)
downloadopensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.zip
opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.gz
opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.bz2
opensim-SC_OLD-d48ea5bb797037069d641da41da0f195f0124491.tar.xz
one more for the gipper
Diffstat (limited to 'libraries/ode-0.9/tests/colliders')
-rw-r--r--libraries/ode-0.9/tests/colliders/box_sphere.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libraries/ode-0.9/tests/colliders/box_sphere.cpp b/libraries/ode-0.9/tests/colliders/box_sphere.cpp
new file mode 100644
index 0000000..4bfead7
--- /dev/null
+++ b/libraries/ode-0.9/tests/colliders/box_sphere.cpp
@@ -0,0 +1,13 @@
1#include "CppTestHarness.h"
2#include "ode/ode.h"
3
4TEST(BoxSphereIntersection)
5{
6 dGeomID box = dCreateBox(NULL, 1.0f, 1.0f, 1.0f);
7 dGeomID sphere = dCreateSphere(NULL, 1.0f);
8
9 CHECK_EQUAL(1.0, 1.0);
10
11 dGeomDestroy(box);
12 dGeomDestroy(sphere);
13}