Frustrum fix
This commit is contained in:
parent
4f14c5662e
commit
f0b464bccf
|
@ -3,7 +3,7 @@
|
||||||
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "Frustrum.h"
|
#include "Frustrum.h"
|
||||||
#include "OysterCollision.h"
|
#include "..\OysterCollision3D.h"
|
||||||
|
|
||||||
using namespace Oyster::Math;
|
using namespace Oyster::Math;
|
||||||
using namespace Oyster::Collision3D;
|
using namespace Oyster::Collision3D;
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
// Created by Dan Andersson 2013
|
||||||
|
/////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#include "ICollideable.h"
|
||||||
|
|
||||||
|
using namespace ::Oyster::Collision3D;
|
||||||
|
|
||||||
|
ICollideable::ICollideable( Type _type )
|
||||||
|
: type(_type) {}
|
||||||
|
|
||||||
|
ICollideable::~ICollideable() {}
|
|
@ -31,6 +31,7 @@ namespace Oyster { namespace Collision3D /// Contains a collection of 3D shapes
|
||||||
const Type type;
|
const Type type;
|
||||||
|
|
||||||
ICollideable( Type type = Type_undefined );
|
ICollideable( Type type = Type_undefined );
|
||||||
|
virtual ~ICollideable();
|
||||||
|
|
||||||
virtual ::Utility::Memory::UniquePointer<ICollideable> Clone( ) const = 0;
|
virtual ::Utility::Memory::UniquePointer<ICollideable> Clone( ) const = 0;
|
||||||
virtual bool Intersects( const ICollideable *target ) const = 0;
|
virtual bool Intersects( const ICollideable *target ) const = 0;
|
||||||
|
|
Loading…
Reference in New Issue