From 0175490bc5677156e57104da8f8fb260b5e14474 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 5 Oct 2019 22:53:48 +0200 Subject: [PATCH] Now VoxelWorld inherits from Navigation. --- world/voxel_world.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/world/voxel_world.h b/world/voxel_world.h index 300062c..b03e56e 100644 --- a/world/voxel_world.h +++ b/world/voxel_world.h @@ -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;