From 565cbe146d02986eb34aed3c09642fd7c3a570ae Mon Sep 17 00:00:00 2001 From: gus Date: Wed, 31 Jul 2013 10:04:09 +0200 Subject: [PATCH] function declaration --- libs/openengine/bullet/physic.cpp | 6 ++++++ libs/openengine/bullet/physic.hpp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/libs/openengine/bullet/physic.cpp b/libs/openengine/bullet/physic.cpp index 66ee077ee..05452c8a7 100644 --- a/libs/openengine/bullet/physic.cpp +++ b/libs/openengine/bullet/physic.cpp @@ -547,6 +547,12 @@ namespace Physic #endif }; + + std::string PhysicEngine::sphereTest(float radius,btVector3& pos) + { + + } + std::vector PhysicEngine::getCollisions(const std::string& name) { RigidBody* body = getRigidBody(name); diff --git a/libs/openengine/bullet/physic.hpp b/libs/openengine/bullet/physic.hpp index baeb31678..ff29d635d 100644 --- a/libs/openengine/bullet/physic.hpp +++ b/libs/openengine/bullet/physic.hpp @@ -306,6 +306,8 @@ namespace Physic std::pair sphereCast (float radius, btVector3& from, btVector3& to); ///< @return (hit, relative distance) + std::string sphereTest(float radius,btVector3& pos); + std::vector getCollisions(const std::string& name); //event list of non player object