Frustrum fix

This commit is contained in:
Dander7BD 2013-11-11 21:14:52 +01:00
parent 4f14c5662e
commit f0b464bccf
4 changed files with 18 additions and 5 deletions

View File

@ -3,7 +3,7 @@
/////////////////////////////////////////////////////////////////////
#include "Frustrum.h"
#include "OysterCollision.h"
#include "..\OysterCollision3D.h"
using namespace Oyster::Math;
using namespace Oyster::Collision3D;

View File

@ -0,0 +1,12 @@
/////////////////////////////////////////////////////////////////////
// Created by Dan Andersson 2013
/////////////////////////////////////////////////////////////////////
#include "ICollideable.h"
using namespace ::Oyster::Collision3D;
ICollideable::ICollideable( Type _type )
: type(_type) {}
ICollideable::~ICollideable() {}

View File

@ -31,6 +31,7 @@ namespace Oyster { namespace Collision3D /// Contains a collection of 3D shapes
const Type type;
ICollideable( Type type = Type_undefined );
virtual ~ICollideable();
virtual ::Utility::Memory::UniquePointer<ICollideable> Clone( ) const = 0;
virtual bool Intersects( const ICollideable *target ) const = 0;