CMake autodetecting boost.
Added KRDataBlock to CMakeLists
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "KREngine-common.h"
|
||||
#include "KROctreeNode.h"
|
||||
#include "KRHitInfo.h"
|
||||
|
||||
class KRNode;
|
||||
|
||||
@@ -19,22 +18,22 @@ class KROctree {
|
||||
public:
|
||||
KROctree();
|
||||
~KROctree();
|
||||
|
||||
|
||||
void add(KRNode *pNode);
|
||||
void remove(KRNode *pNode);
|
||||
void update(KRNode *pNode);
|
||||
|
||||
|
||||
KROctreeNode *getRootNode();
|
||||
std::set<KRNode *> &getOuterSceneNodes();
|
||||
|
||||
bool lineCast(const Vector3 &v0, const Vector3 &v1, KRHitInfo &hitinfo, unsigned int layer_mask);
|
||||
bool rayCast(const Vector3 &v0, const Vector3 &dir, KRHitInfo &hitinfo, unsigned int layer_mask);
|
||||
bool sphereCast(const Vector3 &v0, const Vector3 &v1, float radius, KRHitInfo &hitinfo, unsigned int layer_mask);
|
||||
|
||||
bool lineCast(const Vector3 &v0, const Vector3 &v1, HitInfo &hitinfo, unsigned int layer_mask);
|
||||
bool rayCast(const Vector3 &v0, const Vector3 &dir, HitInfo &hitinfo, unsigned int layer_mask);
|
||||
bool sphereCast(const Vector3 &v0, const Vector3 &v1, float radius, HitInfo &hitinfo, unsigned int layer_mask);
|
||||
|
||||
private:
|
||||
KROctreeNode *m_pRootNode;
|
||||
std::set<KRNode *> m_outerSceneNodes;
|
||||
|
||||
|
||||
void shrink();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user