2013-11-10 02:27:16 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
// Created by Dan Andersson 2013
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#ifndef OYSTER_COLLISION_3D_UNIVERSE_H
|
|
|
|
#define OYSTER_COLLISION_3D_UNIVERSE_H
|
|
|
|
|
|
|
|
#include "ICollideable.h"
|
2013-12-16 10:03:29 +01:00
|
|
|
#include "OysterMath.h"
|
2013-11-10 02:27:16 +01:00
|
|
|
|
|
|
|
namespace Oyster { namespace Collision3D
|
|
|
|
{
|
|
|
|
class Universe : public ICollideable
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Universe();
|
|
|
|
virtual ~Universe();
|
|
|
|
|
|
|
|
Universe & operator = ( const Universe &universe );
|
|
|
|
|
2013-11-13 14:50:08 +01:00
|
|
|
virtual ::Utility::DynamicMemory::UniquePointer<ICollideable> Clone( ) const;
|
2013-11-25 14:22:38 +01:00
|
|
|
bool Intersects( const ICollideable &target ) const;
|
2013-12-18 08:57:27 +01:00
|
|
|
bool Intersects( const ICollideable &target, ::Oyster::Math::Float4 &worldPointOfContact ) const;
|
2013-11-25 14:22:38 +01:00
|
|
|
bool Contains( const ICollideable &target ) const;
|
2013-11-10 02:27:16 +01:00
|
|
|
};
|
|
|
|
} }
|
|
|
|
|
|
|
|
#endif
|