23 lines
463 B
C++
23 lines
463 B
C++
#ifndef HYDRAOCTTREE
|
|
#define HYDRAOCTTREE
|
|
|
|
#include "../engine/HydraEngine.h"
|
|
#include "../engine/HydraObject.h"
|
|
#include "HydraOcttreeElement.h"
|
|
|
|
class HydraOcttree : public HydraObject
|
|
{
|
|
public:
|
|
void Intialise();
|
|
void AddEntity(HydraID entity_id);
|
|
void RemoveEntity(HydraID entity_id);
|
|
void UpdateEntity(HydraID entity_id);
|
|
private:
|
|
HydraOcttreeElement m_root {};
|
|
|
|
|
|
|
|
};
|
|
|
|
#endif /* HYDRAOCTTREE */
|