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