From 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 04:28:53 +0000 Subject: adding ode source to /libraries --- "libraries/ode-0.9\\/tests/colliders/box_sphere.cpp" | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 "libraries/ode-0.9\\/tests/colliders/box_sphere.cpp" (limited to 'libraries/ode-0.9\/tests/colliders') 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 @@ +#include "CppTestHarness.h" +#include "ode/ode.h" + +TEST(BoxSphereIntersection) +{ + dGeomID box = dCreateBox(NULL, 1.0f, 1.0f, 1.0f); + dGeomID sphere = dCreateSphere(NULL, 1.0f); + + CHECK_EQUAL(1.0, 1.0); + + dGeomDestroy(box); + dGeomDestroy(sphere); +} -- cgit v1.1