Added cirtual function to ICollideAble

Overload of Intersects(...)
This commit is contained in:
Dander7BD 2013-12-16 09:06:10 +01:00
parent c854b1af58
commit da996a5deb
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ namespace Oyster { namespace Collision3D //! Contains a collection of 3D shapes
virtual ~ICollideable();
virtual ::Utility::DynamicMemory::UniquePointer<ICollideable> 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;
};