Now VoxelWorld inherits from Navigation.

This commit is contained in:
Relintai 2019-10-05 22:53:48 +02:00
parent aa4fb6c088
commit 0175490bc5

View File

@ -1,7 +1,7 @@
#ifndef VOXEL_WORLD_H #ifndef VOXEL_WORLD_H
#define VOXEL_WORLD_H #define VOXEL_WORLD_H
#include "scene/3d/spatial.h" #include "scene/3d/navigation.h"
#include "core/hash_map.h" #include "core/hash_map.h"
#include "../math/vector3i.h" #include "../math/vector3i.h"
@ -11,8 +11,8 @@
class VoxelChunk; class VoxelChunk;
class VoxelWorld : public Spatial { class VoxelWorld : public Navigation {
GDCLASS(VoxelWorld, Spatial); GDCLASS(VoxelWorld, Navigation);
public: public:
int get_chunk_size_x() const; int get_chunk_size_x() const;