From da996a5debcc47832830b87ef9c7138864ac4440 Mon Sep 17 00:00:00 2001 From: Dander7BD Date: Mon, 16 Dec 2013 09:06:10 +0100 Subject: [PATCH] Added cirtual function to ICollideAble Overload of Intersects(...) --- Code/OysterPhysics3D/ICollideable.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/OysterPhysics3D/ICollideable.h b/Code/OysterPhysics3D/ICollideable.h index 34a86f7b..038caf0f 100644 --- a/Code/OysterPhysics3D/ICollideable.h +++ b/Code/OysterPhysics3D/ICollideable.h @@ -34,6 +34,7 @@ namespace Oyster { namespace Collision3D //! Contains a collection of 3D shapes virtual ~ICollideable(); virtual ::Utility::DynamicMemory::UniquePointer Clone( ) const = 0; + virtual bool Intersects( const ICollideable &target, Oyster::Math::Float3 &worldPointOfContact ) const = 0; virtual bool Intersects( const ICollideable &target ) const = 0; virtual bool Contains( const ICollideable &target ) const = 0; };