diff options
author | dan miller | 2007-10-19 04:28:53 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 04:28:53 +0000 |
commit | 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/tests/colliders/box_sphere.cpp | |
parent | small bit of refactoring (diff) | |
download | opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.zip opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.gz opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.bz2 opensim-SC-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.xz |
adding ode source to /libraries
Diffstat (limited to 'libraries/ode-0.9\/tests/colliders/box_sphere.cpp')
-rwxr-xr-x | libraries/ode-0.9\/tests/colliders/box_sphere.cpp | 13 |
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 100755 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 | |||
4 | TEST(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 | } | ||